mirror of
https://github.com/jlfwong/speedscope.git
synced 2024-11-27 01:53:17 +03:00
1987e83bde
Previously, I was doing a hacky release process where I had `index.html` serve contents for `jlfwong.github.io/speedscope`, but used `dev.html` locally. This seems like it broke with the latest parcel release, so I just revamped the release process instead. Now, the `release.sh` script creates a temporary shallow clone of the repository, overwrites its contents with build artifacts, runs a local server to verify it's working, then commits and pushes to the `gh-pages` branches.
25 lines
500 B
JSON
25 lines
500 B
JSON
{
|
|
"name": "speedscope",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"serve": "parcel dev.html --open --no-autoinstall",
|
|
"release": "./release.sh"
|
|
},
|
|
"browserslist": [
|
|
"last 2 Chrome versions",
|
|
"last 2 Firefox versions"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"aphrodite": "2.1.0",
|
|
"parcel-bundler": "1.7.0",
|
|
"preact": "8.2.7",
|
|
"regl": "1.3.1",
|
|
"typescript": "2.8.1",
|
|
"uglify-es": "3.2.2"
|
|
}
|
|
}
|