1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-05 21:49:06 +01:00

alphabetize package.json scripts

This commit is contained in:
Ian Storm Taylor 2017-08-09 12:08:35 -07:00
parent 3eb72a8642
commit 207f459625

@ -80,34 +80,34 @@
"watchify": "^3.7.0"
},
"scripts": {
"clean": "rm -rf ./lib ./node_modules ./examples/build.dev.js ./examples/build.prod.js",
"disc": "npm-run-all build disc:build disc:open",
"disc:build": "mkdir -p ./tmp && browserify ./lib/index.js --full-paths --transform uglifyify --standalone Slate | uglifyjs > ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"bench": "npm-run-all build:npm benchs",
"benchs": "babel-node ./node_modules/.bin/_matcha --reporter ./benchmark/reporter ./benchmark/index.js > ./tmp/benchmark-comparison.json && babel-node ./benchmark/compare",
"benchs:save": "babel-node ./node_modules/.bin/_matcha --reporter ./benchmark/reporter ./benchmark/index.js > ./tmp/benchmark-baseline.json",
"build": "mkdir -p ./dist && npm-run-all build:npm build:max build:min",
"build:max": "NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone Slate > ./dist/slate.js",
"build:min": "NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone Slate | uglifyjs > ./dist/slate.min.js",
"build:npm": "babel --out-dir ./lib ./src",
"build:test": "babel --out-dir ./lib ./src --source-maps inline",
"clean": "rm -rf ./lib ./node_modules ./examples/build.dev.js ./examples/build.prod.js",
"disc": "npm-run-all build disc:build disc:open",
"disc:build": "mkdir -p ./tmp && browserify ./lib/index.js --full-paths --transform uglifyify --standalone Slate | uglifyjs > ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"examples": "npm-run-all examples:dev examples:prod",
"examples:dev": "browserify --debug --transform babelify ./examples/index.js > ./examples/build.dev.js",
"examples:prod": "NODE_ENV=production browserify --transform babelify ./examples/index.js > ./examples/build.prod.js",
"gh-pages": "npm run build && npm run examples && gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,src}/**/*.js'",
"open": "open http://localhost:8080/dev.html",
"bench": "npm-run-all build:npm benchs",
"benchs": "babel-node ./node_modules/.bin/_matcha --reporter ./benchmark/reporter ./benchmark/index.js > ./tmp/benchmark-comparison.json && babel-node ./benchmark/compare",
"benchs:save": "babel-node ./node_modules/.bin/_matcha --reporter ./benchmark/reporter ./benchmark/index.js > ./tmp/benchmark-baseline.json",
"prepublish": "npm run build",
"postpublish": "npm run gh-pages",
"prepublish": "npm run build",
"release": "np",
"release:next": "np --tag=next",
"start": "http-server ./examples",
"test": "npm-run-all build:test tests",
"tests": "mocha --compilers js:babel-core/register ./test/index.js",
"watch": "npm-run-all --parallel --print-label watch:lib watch:examples start",
"watch:lib": "babel --watch --out-dir ./lib ./src --source-maps inline",
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js -v"
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js -v",
"watch:lib": "babel --watch --out-dir ./lib ./src --source-maps inline"
},
"browserify-global-shim": {
"immutable": "Immutable",