mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-28 23:34:27 -05:00
circleci config add webpack command to package json, use in config
This commit is contained in:
parent
d4bb471ebf
commit
7b321e8bf5
2 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,7 @@ aliases:
|
|||
- run:
|
||||
name: "Run npm test to build"
|
||||
command: |
|
||||
pwd
|
||||
WWW_VERSION=${CIRCLE_SHA1:0:5} NODE_OPTIONS=--max_old_space_size=8000 ./node-modules/webpack/bin/webpack.js --bail
|
||||
WWW_VERSION=${CIRCLE_SHA1:0:5} npm run webpack
|
||||
- *save_npm_cache
|
||||
- *save_git_cache
|
||||
- *save_build_cache
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"test:unit:tap": "tap ./test/{unit-legacy,localization-legacy}/*.js --no-coverage -R classic",
|
||||
"test:coverage": "tap ./test/{unit-legacy,localization-legacy}/*.js --coverage --coverage-report=lcov",
|
||||
"build": "npm run clean && npm run translate && NODE_OPTIONS=--max_old_space_size=8000 webpack --bail",
|
||||
"webpack": "NODE_OPTIONS=--max_old_space_size=8000 webpack --bail",
|
||||
"clean": "rm -rf ./build && rm -rf ./intl && mkdir -p build && mkdir -p intl",
|
||||
"deploy": "npm run deploy:s3 && npm run deploy:fastly",
|
||||
"deploy:fastly": "node ./bin/configure-fastly.js",
|
||||
|
|
Loading…
Reference in a new issue