Change development scripts

Switch to npm-workspaces monorepo task management.
This commit is contained in:
Nicolas Gallagher
2022-07-01 17:54:05 -07:00
parent 50e267b0aa
commit 31f2e66bf0
12 changed files with 89 additions and 104 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
"name": "benchmarks",
"version": "0.0.0",
"scripts": {
"dev": "mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js",
"build": "NODE_ENV=production yarn dev"
"clean": "del-cli ./dist",
"build": "NODE_ENV=production npm run dev",
"dev": "npm run clean && mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js"
},
"dependencies": {
"classnames": "^2.3.1",