mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-09 06:30:40 +02:00
fixed build for windows (#1592)
This commit is contained in:
committed by
Ian Storm Taylor
parent
228b97ff29
commit
aee01ae703
@@ -16,6 +16,7 @@
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"chalk": "^1.1.3",
|
||||
"cross-env": "^5.1.3",
|
||||
"disc": "^1.3.2",
|
||||
"eslint": "^4.16.0",
|
||||
"eslint-plugin-import": "^2.8.0",
|
||||
@@ -73,14 +74,14 @@
|
||||
"benchmark": "mkdir -p ./tmp && babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark-reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-comparison.json && babel-node ./support/benchmark-compare",
|
||||
"benchmark:save": "mkdir -p ./tmp && babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark-reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-baseline.json",
|
||||
"bootstrap": "lerna bootstrap && yarn build",
|
||||
"build": "NODE_ENV=production rollup --config",
|
||||
"build": "cross-env NODE_ENV=production rollup --config",
|
||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./examples/build.*.js",
|
||||
"gh-pages": "yarn build && gh-pages --dist ./examples",
|
||||
"lint": "eslint packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js",
|
||||
"open": "open http://localhost:8080/dev.html",
|
||||
"release": "yarn test && yarn lint && lerna publish && yarn gh-pages",
|
||||
"start": "http-server ./examples",
|
||||
"test": "BABEL_ENV=test mocha --require babel-core/register ./packages/*/test/index.js",
|
||||
"test": "cross-env BABEL_ENV=test mocha --require babel-core/register ./packages/*/test/index.js",
|
||||
"watch": "npm-run-all --parallel --print-label watch:rollup start",
|
||||
"watch:rollup": "rollup --config --watch"
|
||||
}
|
||||
|
Reference in New Issue
Block a user