Skip to content

Commit 09ada78

Browse files
committed
Adding NPM package bundling
1 parent aaa3b06 commit 09ada78

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/.nyc_output
2+
/coverage
3+
/functional_tests
4+
/node_modules
5+
/src
6+
.gitignore
7+
.travis.yml
8+
tsconfig.json

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
"version": "1.0.0-beta.1",
44
"description": "Webpack plugin for bundling build outputs into a WAR archive",
55
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
67
"repository": "https://github.com/DevWurm/webpack-war-plugin",
78
"author": "DevWurm",
89
"license": "MIT",
910
"scripts": {
1011
"prebuild": "yarn run clean",
11-
"build": "tsc",
12+
"build": "tsc -d",
1213
"clean": "rimraf dist",
1314
"test": "mocha --compilers ts:ts-node/register src/**/*.spec.ts",
1415
"test:coverage": "nyc yarn run test",

0 commit comments

Comments
 (0)