mirror of
https://github.com/jlfwong/speedscope.git
synced 2024-11-26 15:45:50 +03:00
ca1abfdd32
Fixes #268 I fixed it by dropping the dependency on quicktype entirely, and using its dependency directly. I still don't understand why the version of typescript used in this repository affects what quicktype is doing, but it seems like the issue is in quicktype, not its dependency. I validated this change was correct by diffing the output of `node scripts/generate-file-format-schema-json.js` with what's currently on http://speedscope.app/file-format-schema.json. There's no difference. This PR also includes changes to the CI script to ensure that we can catch this before hitting master next time.
81 lines
1.9 KiB
JSON
81 lines
1.9 KiB
JSON
{
|
|
"name": "speedscope",
|
|
"version": "1.5.3",
|
|
"description": "",
|
|
"repository": "jlfwong/speedscope",
|
|
"main": "index.js",
|
|
"bin": {
|
|
"speedscope": "./bin/cli.js"
|
|
},
|
|
"scripts": {
|
|
"deploy": "./scripts/deploy.sh",
|
|
"prepack": "./scripts/build-release.sh",
|
|
"prettier": "prettier --write 'src/**/*.ts' 'src/**/*.tsx'",
|
|
"lint": "eslint 'src/**/*.ts' 'src/**/*.tsx'",
|
|
"jest": "./scripts/test-setup.sh && jest --runInBand",
|
|
"coverage": "npm run jest -- --coverage && coveralls < coverage/lcov.info",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "./scripts/ci.sh",
|
|
"serve": "parcel assets/index.html --open --no-autoinstall"
|
|
},
|
|
"files": [
|
|
"bin/cli.js",
|
|
"dist/release/**",
|
|
"!*.map"
|
|
],
|
|
"browserslist": [
|
|
"last 2 Chrome versions",
|
|
"last 2 Firefox versions"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/jest": "22.2.3",
|
|
"@types/jszip": "3.1.4",
|
|
"@types/node": "14.0.1",
|
|
"@types/pako": "1.0.0",
|
|
"aphrodite": "2.1.0",
|
|
"coveralls": "3.0.1",
|
|
"eslint": "4.19.1",
|
|
"eslint-plugin-prettier": "2.6.0",
|
|
"jest": "24.3.0",
|
|
"jsverify": "0.8.3",
|
|
"jszip": "3.1.5",
|
|
"pako": "1.0.6",
|
|
"parcel-bundler": "1.12.4",
|
|
"preact": "8.2.7",
|
|
"preact-redux": "jlfwong/preact-redux#a56dcc4",
|
|
"prettier": "2.0.4",
|
|
"protobufjs": "6.8.8",
|
|
"typescript-json-schema": "0.42.0",
|
|
"redux": "4.0.0",
|
|
"ts-jest": "24.3.0",
|
|
"typescript": "3.9.2",
|
|
"typescript-eslint-parser": "17.0.1",
|
|
"uglify-es": "3.2.2"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"./src/jest-setup.js"
|
|
],
|
|
"testRegex": "\\.test\\.tsx?$",
|
|
"collectCoverageFrom": [
|
|
"**/*.{ts,tsx}",
|
|
"!**/*.d.{ts,tsx}"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"opn": "5.3.0"
|
|
}
|
|
}
|