mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
Fix BABEL_ENV bug in yarn benchmark (#1607)
This commit is contained in:
committed by
Zach Schneider
parent
eda5c02e79
commit
1f254aebec
@@ -71,8 +71,8 @@
|
||||
"slate-schema-violations": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"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",
|
||||
"benchmark": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark-reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-comparison.json && cross-env BABEL_ENV=test babel-node ./support/benchmark-compare",
|
||||
"benchmark:save": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark-reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-baseline.json",
|
||||
"bootstrap": "lerna bootstrap && yarn build",
|
||||
"build": "cross-env NODE_ENV=production rollup --config",
|
||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./examples/build.*.js",
|
||||
|
Reference in New Issue
Block a user