[IMP] tooling: add iife build to npm package

This is useful to link to the iife version in some other projects.
This commit is contained in:
Géry Debongnie
2020-04-17 15:47:20 +02:00
parent 211f6ebdd6
commit aaf40e9bec
+3 -2
View File
@@ -6,7 +6,8 @@
"types": "dist/types/index.d.ts",
"files": [
"dist/types/",
"dist/owl.js"
"dist/owl.js",
"dist/owl-iife.js"
],
"engines": {
"node": ">=10.15.3"
@@ -24,7 +25,7 @@
"pretools:watch": "npm run build",
"tools:watch": "npm-run-all --parallel tools:serve \"build:* -- --watch\"",
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --write",
"publish": "npm run buildcommonjs && npm publish",
"publish": "mv dist/owl.js dist/owl-iife.js && npm run buildcommonjs && npm publish",
"release": "node tools/release.js"
},
"repository": {