Skip to content

Commit bf3c509

Browse files
fix(package): point build script to correct tsconfig (#29)
1 parent 21139e9 commit bf3c509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"scripts": {
2222
"test": "jest",
2323
"test.watch": "jest --watch",
24-
"build": "tsc && npm run rollup && uglifyjs dist/index.js -o dist/index.min.js --source-map",
2524
"dist": "ts-node ./scripts/publish-prep.ts",
2625
"lint": "tslint --project tsconfig.json --config tslint.json",
27-
"rollup": "rollup dist/index.js --file dist/index.js -m --format umd --name \"typescript-monads\""
26+
"build": "tsc -p tsconfig.build.json && npm run rollup && uglifyjs dist/index.js -o dist/index.min.js --source-map",
27+
"rollup": "rollup dist/index.js -o dist/index.js --format umd --name \"typescript-monads\" -m"
2828
},
2929
"release": {
3030
"pkgRoot": "dist"

0 commit comments

Comments
 (0)