speedscope/package.json
Jamie Wong d23660d13c
Add test coverage reporting (#55)
This adds an integration with https://coveralls.io/ to report on code coverage of tests
2018-05-29 19:59:04 -07:00

46 lines
1.3 KiB
JSON

{
"name": "speedscope",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"deploy": "./deploy.sh",
"prettier": "prettier --write './**/*.ts' './**/*.tsx'",
"lint": "eslint './**/*.ts' './**/*.tsx'",
"jest": "jest",
"coverage": "npm run jest -- --coverage && coveralls < coverage/lcov.info",
"test": "tsc --noEmit && npm run lint && npm run coverage",
"serve": "parcel index.html --open --no-autoinstall"
},
"browserslist": ["last 2 Chrome versions", "last 2 Firefox versions"],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/pako": "1.0.0",
"aphrodite": "2.1.0",
"coveralls": "^3.0.1",
"eslint": "^4.19.1",
"eslint-plugin-prettier": "^2.6.0",
"jest": "^23.0.1",
"jsverify": "^0.8.3",
"pako": "1.0.6",
"parcel-bundler": "1.7.0",
"preact": "8.2.7",
"prettier": "^1.12.0",
"regl": "1.3.1",
"ts-jest": "^22.4.6",
"typescript": "2.8.1",
"typescript-eslint-parser": "^14.0.0",
"uglify-es": "3.2.2"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "\\.test\\.tsx?$",
"collectCoverageFrom": ["*.{ts,tsx}", "!*.d.{ts,tsx}"],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"]
}
}