Skip to content

Commit b24588f

Browse files
committed
preparation for automated builds
1 parent 00b3ec5 commit b24588f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"js obfuscator",
1313
"webpack obfuscator"
1414
],
15-
"main": "index.js",
15+
"main": "./dist/index.js",
16+
"types": "./dist/index.d.ts",
1617
"dependencies": {
1718
"javascript-obfuscator": "0.18.1",
1819
"multi-stage-sourcemap": "^0.2.1",
@@ -35,12 +36,14 @@
3536
"url": "git+https://github.com/javascript-obfuscator/webpack-obfuscator.git"
3637
},
3738
"scripts": {
39+
"setup": "npm install",
3840
"build": "npx tsc",
3941
"watch": "npx tsc -w",
40-
"test": "npx webpack --config test/config/webpack.config.js"
42+
"test-only": "npx webpack --config test/config/webpack.config.js",
43+
"test": "npm run test"
4144
},
4245
"author": {
4346
"name": "Timofey Kachalov"
4447
},
4548
"license": "BSD-2-Clause"
46-
}
49+
}

0 commit comments

Comments
 (0)