Skip to content

Commit

Permalink
prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jul 3, 2015
1 parent 51c14b8 commit adc05ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ npm-debug.log
nohup.out
_site
dist
elasticsearch-*
config/base.yaml
**/*.md
docs
node_modules
Expand All @@ -33,3 +31,6 @@ site
dist
*.yml
CNAME
components
nico.js
deploy.js
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antd",
"version": "0.1.0",
"version": "0.1.0-pre",
"title": "Ant Design",
"description": "下一个设计&前端框架",
"homepage": "http://ant-design.github.io/",
Expand Down Expand Up @@ -49,14 +49,14 @@
"webpack-dev-middleware": "~1.0.11"
},
"scripts": {
"babel": "rm -rf lib && babel components --out-dir lib && rm -rf components && mv lib components",
"babel": "babel components --out-dir lib",
"build": "npm run clean && webpack && nico build",
"start": "npm run clean && nico server --watch",
"clean": "rm -rf _site",
"deploy": "npm run build && node deploy.js",
"lint": "eslint components index.js --ext '.js,.jsx'",
"test": "webpack && npm run lint",
"postinstall": "npm run babel"
"prepublish": "npm run babel"
},
"precommit": [
"lint"
Expand Down

0 comments on commit adc05ad

Please sign in to comment.