|
|
@ -79,10 +79,10 @@ |
|
|
|
"release": "npm run clean && webpack --config webpack.config.production.js && webpack --config webpack.config.min.js && zip dist/${npm_package_name}-${npm_package_version}.zip -j dist dist/*", |
|
|
|
"start": "npm run clean && nico server --watch", |
|
|
|
"clean": "rm -rf _site dist", |
|
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run clean && webpack --optimize-minimize && nico build && node scripts/deploy.js", |
|
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run clean && webpack && webpack --config webpack.config.min.js && nico build && node scripts/deploy.js", |
|
|
|
"lint": "eslint components index.js --ext '.js,.jsx'", |
|
|
|
"test": "webpack && npm run lint", |
|
|
|
"prepublish": "npm run babel && rm -rf dist && webpack && node scripts/prenpm.js" |
|
|
|
"prepublish": "npm run babel && rm -rf dist && webpack --config webpack.config.production.js && node scripts/prenpm.js" |
|
|
|
}, |
|
|
|
"precommit": [ |
|
|
|
"lint" |
|
|
|