mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
use linkifyjs to make all URLs in the annotation clickable, but since it requires us to stop escaping html when rendering annotation object let's first manually escape it to prevent rogue alerts with malicious annotations from executing <scripts> and other ugly things in user browsers
80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"name": "unsee",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/cloudflare/unsee.git"
|
|
},
|
|
"scripts": {
|
|
"test": "jest"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"coverageDirectory": ".coverage",
|
|
"collectCoverageFrom": [
|
|
"assets/static/*.js",
|
|
"!assets/static/jquery.typing*.js",
|
|
"!<rootDir>/node_modules/"
|
|
],
|
|
"verbose": true,
|
|
"moduleNameMapper": {
|
|
"\\.(css|less)$": "<rootDir>/assets/static/__mocks__/styleMock.js",
|
|
"bootstrap\\.loader\\!\\.\\/no-op.js$": "<rootDir>/node_modules/bootstrap-loader/lib/bootstrap.loader.js",
|
|
"\\!\\.\\/font-awesome\\.config\\.js$": "<rootDir>/assets/static/__mocks__/styleMock.js",
|
|
"^favico\\.js$": "<rootDir>/assets/static/__mocks__/faviconMock.js",
|
|
"^./favicon.ico$": "<rootDir>/assets/static/__mocks__/styleMock.js",
|
|
"^is-in-viewport$": "<rootDir>/assets/static/__mocks__/isInViewportMock.js"
|
|
},
|
|
"testURL": "http://localhost"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "^3.3.7",
|
|
"bootstrap-select": "^1.12.4",
|
|
"bootstrap-switch": "^3.3.4",
|
|
"bootstrap-tagsinput": "git+https://github.com/bootstrap-tagsinput/bootstrap-tagsinput.git#41fe4aa2201c4af4cfc4293fa3fc8260ad60bf35",
|
|
"bootswatch": "^3.3.7",
|
|
"clipboard": "^1.7.1",
|
|
"corejs-typeahead": "^1.1.1",
|
|
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
|
|
"favico.js": "^0.3.10",
|
|
"font-awesome": "^4.7.0",
|
|
"is-in-viewport": "^3.0.0",
|
|
"javascript-linkify": "^0.3.0",
|
|
"jquery": "^3.2.1",
|
|
"js-cookie": "^2.1.4",
|
|
"js-sha1": "^0.4.1",
|
|
"loaders.css": "^0.1.2",
|
|
"lru": "^3.1.0",
|
|
"masonry-layout": "^4.2.0",
|
|
"moment": "^2.18.1",
|
|
"nprogress": "^0.2.0",
|
|
"raven-js": "^3.17.0",
|
|
"underscore": "^1.8.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.25.0",
|
|
"babel-loader": "^7.1.1",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"bootstrap-loader": "^2.1.0",
|
|
"bootstrap-sass": "^3.3.7",
|
|
"clean-webpack-plugin": "^0.1.16",
|
|
"css-loader": "^0.28.4",
|
|
"eslint": "^4.4.1",
|
|
"expose-loader": "^0.7.3",
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
|
"file-loader": "^0.11.2",
|
|
"font-awesome-webpack": "0.0.5-beta.2",
|
|
"jest": "^20.0.4",
|
|
"jquery-bridget": "^2.0.1",
|
|
"less": "^2.7.2",
|
|
"mock-xhr": "^0.1.0",
|
|
"node-sass": "^4.5.3",
|
|
"resolve-url-loader": "^2.1.0",
|
|
"sass-loader": "^6.0.6",
|
|
"style-loader": "^0.18.2",
|
|
"url-loader": "^0.5.9",
|
|
"webpack": "^3.5.4",
|
|
"window": "^4.1.2"
|
|
}
|
|
}
|