mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
Fix node env issue
This commit is contained in:
parent
1d6e854e4a
commit
8ffb95c02d
2 changed files with 1 additions and 5 deletions
|
@ -6,9 +6,6 @@ node_js:
|
|||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
env:
|
||||
global:
|
||||
- NODE_ENV=production
|
||||
install:
|
||||
- sudo apt-get update && sudo apt-get install -y libcairo2-dev libpango1.0-dev libssl-dev libjpeg62-dev libgif-dev pkg-config
|
||||
- npm install canvas
|
||||
|
@ -35,4 +32,3 @@ deploy:
|
|||
skip_cleanup: true
|
||||
email: $NPM_EMAIL
|
||||
api_key: $NPM_TOKEN
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"i18n:src": "babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
|
||||
"lint": "eslint . --ext .js,.jsx",
|
||||
"start": "npm run i18n:msgs && webpack-dev-server",
|
||||
"test": "npm run lint && npm run build && npm run unit",
|
||||
"test": "npm run lint && npm run unit && NODE_ENV=production npm run build",
|
||||
"unit": "jest",
|
||||
"watch": "webpack --progress --colors --watch"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue