mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
update slate-dev-logger package.json scripts
This commit is contained in:
@@ -14,10 +14,13 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "babel --out-dir ./lib ./src",
|
"build": "babel --out-dir ./lib ./src",
|
||||||
"build:max": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone SlateLogger > ./dist/slate-logger.js",
|
"build:max": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone SlateDevLogger > ./dist/slate-dev-logger.js",
|
||||||
"build:min": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone SlateLogger | uglifyjs > ./dist/slate-logger.min.js",
|
"build:min": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone SlateDevLogger | uglifyjs > ./dist/slate-dev-logger.min.js",
|
||||||
"clean": "rm -rf ./dist ./lib ./node_modules",
|
"clean": "rm -rf ./dist ./lib ./node_modules",
|
||||||
"prepublish": "yarn run build:max && yarn run build:min",
|
"prepublish": "yarn run build:max && yarn run build:min",
|
||||||
"watch": "babel --watch --out-dir ./lib ./src --source-maps inline"
|
"watch": "babel --watch --out-dir ./lib ./src --source-maps inline"
|
||||||
}
|
},
|
||||||
|
"keywords": [
|
||||||
|
"slate"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user