add webpack config

This commit is contained in:
Labhansh Agrawal
2020-05-01 14:26:03 +05:30
parent 4702a0af9d
commit 7bde7039bb
3 changed files with 50 additions and 4 deletions
+6 -4
View File
@@ -13,16 +13,18 @@
"engines": {
"node": ">8.0.0"
},
"main": "out/LigaturesAddon.js",
"main": "lib/xterm-addon-ligatures.js",
"types": "typings/xterm-addon-ligatures.d.ts",
"scripts": {
"prepare": "node bin/download-fonts.js",
"build": "tsc -p src",
"watch": "tsc -w -p src",
"build": "../../node_modules/.bin/tsc -p src",
"watch": "../../node_modules/.bin/tsc -w -p src",
"prepackage": "npm run build",
"package": "../../node_modules/.bin/webpack",
"pretest": "npm run build",
"test": "nyc mocha out/**/*.test.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run build"
"prepublish": "npm run package"
},
"keywords": [
"font",