mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
fix build:min/max to target dist folder
This commit is contained in:
@@ -77,8 +77,8 @@
|
||||
"disc:build": "mkdir -p ./tmp && browserify ./lib/index.js --full-paths > ./tmp/build.js",
|
||||
"disc:open": "discify ./tmp/build.js --open",
|
||||
"build": "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 > ./lib/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 > ./lib/slate.min.js",
|
||||
"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",
|
||||
"examples": "npm-run-all examples:dev examples:prod",
|
||||
"examples:dev": "browserify --debug --transform babelify ./examples/index.js > ./examples/build.dev.js",
|
||||
|
Reference in New Issue
Block a user