npm scripts

This commit is contained in:
cupcakearmy 2019-09-28 17:21:12 +02:00
parent cf27d8c77f
commit 152f0b7c51

View File

@ -4,9 +4,11 @@
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
"scripts": { "scripts": {
"prepublishOnly": "tsc", "prepublishOnly": "rm -rf ./dist && tsc",
"examples": "parcel -d public ./examples/index.html",
"test": "parcel -d public ./test/index.html", "test": "parcel -d public ./test/index.html",
"build": "tsc -w", "build": "tsc",
"watch": "tsc -w",
"dev": "pnpm run build & pnpm run test" "dev": "pnpm run build & pnpm run test"
}, },
"browserslist": [ "browserslist": [