* Fixes #513 add cross-env to set environment variables across platform * fix different line endings across platforms * manually install loop-protect * fix some err space * update loop-protect version * restore loop-protect
This commit is contained in:
parent
86318795ef
commit
798e748d8f
3 changed files with 9555 additions and 4888 deletions
|
@ -12,6 +12,7 @@
|
||||||
"classes": true
|
"classes": true
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"linebreak-style": 0,
|
||||||
"react/no-multi-comp": 0,
|
"react/no-multi-comp": 0,
|
||||||
"import/default": 0,
|
"import/default": 0,
|
||||||
"import/no-duplicates": 0,
|
"import/no-duplicates": 0,
|
||||||
|
|
14019
package-lock.json
generated
14019
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -3,11 +3,11 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "The web editor for p5.js.",
|
"description": "The web editor for p5.js.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "BABEL_DISABLE_CACHE=1 NODE_ENV=development nodemon index.js",
|
"start": "cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=development nodemon index.js",
|
||||||
"start:prod": "NODE_ENV=production node index.js",
|
"start:prod": "cross-env NODE_ENV=production node index.js",
|
||||||
"lint": "eslint client server --ext .jsx --ext .js",
|
"lint": "eslint client server --ext .jsx --ext .js",
|
||||||
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
||||||
"build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress",
|
"build": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js --progress",
|
||||||
"test": "npm run lint",
|
"test": "npm run lint",
|
||||||
"fetch-examples": "node fetch-examples.js",
|
"fetch-examples": "node fetch-examples.js",
|
||||||
"postinstall": "git submodule update --remote --recursive"
|
"postinstall": "git submodule update --remote --recursive"
|
||||||
|
@ -71,6 +71,7 @@
|
||||||
"connect-mongo": "^1.2.0",
|
"connect-mongo": "^1.2.0",
|
||||||
"cookie-parser": "^1.4.1",
|
"cookie-parser": "^1.4.1",
|
||||||
"cors": "^2.8.1",
|
"cors": "^2.8.1",
|
||||||
|
"cross-env": "^5.1.3",
|
||||||
"csslint": "^0.10.0",
|
"csslint": "^0.10.0",
|
||||||
"csurf": "^1.9.0",
|
"csurf": "^1.9.0",
|
||||||
"decomment": "^0.8.7",
|
"decomment": "^0.8.7",
|
||||||
|
|
Loading…
Reference in a new issue