Skip to content

Commit

Permalink
minor: package.json script more readable (separate build tasks)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed May 5, 2019
1 parent 42312a6 commit ae557d6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
"chalk": "^2.3.0",
"cross-env": "^5.2.0",
"cross-spawn": "^5.1.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
Expand All @@ -30,10 +31,12 @@
},
"scripts": {
"ace": "node ./packages/ace-cli/bin/ace.js",
"clean": "rimraf packages/*/lib",
"clean-all": "yarn clean && rimraf packages/*/node_modules && rimraf node_modules",
"prebuild": "yarn run clean",
"build": "node ./scripts/build.js",
"clean": "yarn run clean-libs",
"clean-libs": "rimraf packages/*/lib",
"clean-node-modules": "rimraf packages/*/node_modules && rimraf node_modules",
"clean-all": "yarn clean-libs && yarn run clean-node-modules",
"prebuild": "yarn run clean-libs",
"build": "cross-env VERBOSE=1 node ./scripts/build.js",
"docs": "echo docs script not implemented",
"lint": "echo lint script not implemented",
"postinstall": "yarn build",
Expand Down

0 comments on commit ae557d6

Please sign in to comment.