Skip to content

Commit

Permalink
Fix ordering in npm scripts
Browse files Browse the repository at this point in the history
- need to create the folder first, at least on Docker
  • Loading branch information
smarr committed May 7, 2023
1 parent f621f9e commit 3b3c2e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@
"postinstall": "npm run compile",
"start": "node --enable-source-maps --experimental-json-modules ./dist/src/index.js",
"nodemon": "DEV=true nodemon --enable-source-maps --experimental-json-modules ./dist/src/index.js --watch ./dist/src --watch ./dist/package.json --watch ./src/views/ --ext js,json,html",
"precompile": "terser --module --ecma 2018 --compress --mangle -o ./resources/uPlot.esm.min.js -- node_modules/uplot/dist/uPlot.esm.js",
"compile": "tsc && npm run prep-reports && npm run prep-static",
"precompile": "npm run prep-folders && npm run compile-uplot",
"compile-uplot": "terser --module --ecma 2018 --compress --mangle -o ./resources/uPlot.esm.min.js -- node_modules/uplot/dist/uPlot.esm.js",
"compile": "tsc && npm run prep-static",
"prep-static": "cp dist/src/views/*.js ./resources/",
"prep-reports": "mkdir -p tmp/interm tmp/knit resources/reports resources/exp-data",
"prep-folders": "mkdir -p tmp/interm tmp/knit resources/reports resources/exp-data",
"format": "prettier --config .prettierrc '{src,tests}/**/*.ts' --write",
"verify": "npm run lint",
"lint": "eslint . --ext .ts,.tsx",
Expand Down

0 comments on commit 3b3c2e5

Please sign in to comment.