1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 19:01:54 +02:00

add crossenv to allow ENV dependent scripts to work on windows

This commit is contained in:
CameronAckermanSEL
2020-04-07 13:17:16 -07:00
parent 54b9b63f04
commit b91a0cdd49
2 changed files with 42 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
"lint:prettier": "prettier --list-different \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
"open": "open http://localhost:3000",
"release": "NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish",
"release": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish",
"serve": "cd ./site && next",
"start": "npm-run-all --parallel --print-label watch serve",
"test": "mocha --require ./config/babel/register.cjs ./packages/*/test/index.js",
@@ -46,6 +46,7 @@
"babel-eslint": "^10.0.3",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-module-resolver": "^3.1.1",
"cross-env": "^7.0.2",
"emotion": "^10.0.9",
"eslint": "^6.7.1",
"eslint-config-prettier": "^6.7.0",