Skip to content

Commit

Permalink
Do not include source maps or irrelevant files in npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
paldepind committed Apr 30, 2019
1 parent b7ece4b commit 812d5b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"test": "test",
"dist": "dist"
},
"files": [
"dist"
],
"scripts": {
"build": "npm run build-es6; npm run build-cmjs",
"build-es6": "tsc -P ./tsconfig-release.json --outDir 'dist/es' --target es2015 --module es2015",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-release.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"outDir": "./dist",
"rootDir": "./src",
"noImplicitAny": false,
"sourceMap": true,
"sourceMap": false,
"experimentalDecorators": true,
"lib": ["dom", "es5", "es2015.core", "es2015.promise", "es2015.iterable"]
},
Expand Down

0 comments on commit 812d5b6

Please sign in to comment.