mirror of
https://github.com/jlfwong/speedscope.git
synced 2024-11-27 01:53:17 +03:00
d23660d13c
This adds an integration with https://coveralls.io/ to report on code coverage of tests
46 lines
1.3 KiB
JSON
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"]
|
|
}
|
|
}
|