mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
update build scripts
This commit is contained in:
parent
a274d8088b
commit
8e3ac6b6a5
@ -15,13 +15,21 @@
|
||||
|
||||
- **开发版** <span class="versions" id="latest-version"></span>
|
||||
|
||||
开发版并不稳定,随时可能变更。
|
||||
|
||||
<ul id="latest-links">
|
||||
<li>
|
||||
<a href="http://ant.design/dist/antd.js">antd.js</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://ant.design/dist/antd.min.js">antd.min.js</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://ant.design/dist/antd.css">antd.css</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://ant.design/dist/antd.min.css">antd.min.css</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
- **历史版本**:https://github.com/ant-design/ant-design/releases
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user