Skip to content

Commit

Permalink
refactor(build): tweak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
伍程凯 committed Jul 16, 2018
1 parent 573dd4b commit a6b9fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"lint": "tslint --project tsconfig.json",
"docs:lint": "documentation lint dist/**",
"docs:deploy": "npm run docs && cp -r .circleci docs && gh-pages -d docs -t",
"docs": "rm -rf docs/ dist/ && npm run dev && documentation build dist/** -f html -o docs",
"docs": "npm run dev && documentation build dist/** -f html -o docs",
"build": "npm run dev && bili --format cjs --filename '[name].js' --exports 'named'",
"dev": "rm -rf dist/ libs/ && tsc",
"dev": "tsc",
"test:unit": "jest",
"postversion": "npm run build && npm run docs:deploy",
"postversion": "rm -rf dist/ libs/ && npm run build && npm run docs:deploy",
"postbuild": "cp dist/*.d.ts libs"
},
"author": "Army-U <[email protected]>",
Expand Down

0 comments on commit a6b9fe7

Please sign in to comment.