Skip to content

Commit 56113e7

Browse files
author
Kevin Verdieck
committed
Just build in circle.yml to avoid npm weirdness. Fixes #11
1 parent 0b851c9 commit 56113e7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ extra-typings.d.ts
99
tsconfig*.json
1010
tsd.json
1111
dev/
12+
docs/
1213
scripts/
1314
typings/
1415
webpack.config*.js
1516
screencast.gif
17+
yarn.lock

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ deployment:
88
commands:
99
- touch .npmrc
1010
- printf "\n$NPM_REGISTRY_CREDS\n" >> .npmrc
11+
- yarn run build
1112
- npm publish
1213
dependencies:
1314
pre:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"clean": "rm -rf lib/",
1515
"start": "webpack-dev-server --config webpack.config.hot.js --inline --hot --content-base docs/ --host 0.0.0.0 --port 8092",
1616
"build": "npm-run-all clean lib.compile.ts lib.compile.less lib.remove.type.references",
17-
"prepublishOnly": "yarn run build",
17+
"prepare": "yarn run build",
1818
"docs": "rm -rf docs/ && webpack",
1919
"test": "tslint --project tsconfig.json && mocha --opts test/mocha.opts 'test/*.ts'",
2020
"lib.compile.ts": "tsc -p tsconfig-build.json",

0 commit comments

Comments
 (0)