82 строки
2.0 KiB
JSON
82 строки
2.0 KiB
JSON
{
|
|
"name": "sarifviewer",
|
|
"version": "0.1.0",
|
|
"author": "Microsoft",
|
|
"description": "Sarif Viewer",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/sarif-web-component"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack-dev-server --mode development",
|
|
"d": "webpack --mode development",
|
|
"p": "webpack --mode production",
|
|
"w": "webpack --mode development --watch",
|
|
"test": "jest --watchAll"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.1",
|
|
"@types/react": "^16.4.7",
|
|
"@types/react-dom": "^16.0.6",
|
|
"autobind-decorator": "^2.1.0",
|
|
"css-loader": "^1.0.0",
|
|
"enzyme": "^3.4.1",
|
|
"enzyme-adapter-react-16": "^1.2.0",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"jest": "^23.5.0",
|
|
"node-sass": "^4.9.2",
|
|
"react": "^16.4.1",
|
|
"react-dom": "^16.4.1",
|
|
"react-test-renderer": "^16.4.2",
|
|
"object-path": "^0.11.4",
|
|
"sass-loader": "^7.0.3",
|
|
"style-loader": "^0.21.0",
|
|
"ts-jest": "^23.1.3",
|
|
"ts-loader": "^4.4.2",
|
|
"typescript": "^3.0.1",
|
|
"webpack": "^4.16.3",
|
|
"webpack-bundle-analyzer": "^2.13.1",
|
|
"webpack-cli": "^3.1.0",
|
|
"webpack-dev-server": "^3.1.5",
|
|
"@types/object-path": "^0.9.29"
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"<rootDir>/jestSetup.js"
|
|
],
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.scss$": "<rootDir>/__mocks__/styleMock.js",
|
|
"office-ui-fabric-react/lib/": "office-ui-fabric-react/lib-commonjs/"
|
|
},
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"components/grouping.ts",
|
|
"components/Results.tsx"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"highlight.js": "^9.12.0",
|
|
"mobx": "^5.5.2",
|
|
"mobx-react": "^5.3.6",
|
|
"office-ui-fabric-react": "^6.49.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.4.1",
|
|
"react-dom": "^16.4.1"
|
|
}
|
|
}
|