aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJason Miller <[email protected]>2020-05-26 17:51:54 -0400
committerJason Miller <[email protected]>2020-05-26 17:51:54 -0400
commit0ead0bafdee03a0da3ea552d847b712b7825d562 (patch)
treee8dda9df82fd1f85c35ce4086dbac69111491eb4 /package.json
parente637ac97b8f9bafa2c5f1a35f10ec09f85e9900b (diff)
simple build script
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/package.json b/package.json
index eb07568..b18580a 100644
--- a/package.json
+++ b/package.json
@@ -5,11 +5,11 @@
"jsnext:main": "dist/mitt.es.js",
"source": "src/index.ts",
"module": "dist/mitt.es.js",
+ "esmodules": "dist/mitt.modern.js",
"main": "dist/mitt.js",
"umd:main": "dist/mitt.umd.js",
"typings": "dist/index.d.ts",
"scripts": {
- "bump": "standard-version",
"testonly": "mocha --require esm --require ts-node/register test/**/*.js",
"lint": "eslint src test --ext ts --ext js",
"test": "tsc src/index.ts --noEmit && npm run lint && npm run testonly",
@@ -17,7 +17,7 @@
"build": "npm-run-all --silent clean -p bundle -s docs",
"clean": "rimraf dist",
"docs": "documentation readme src/index.ts --section API -q --parse-extension ts",
- "release": "npm run build -s && npm run bump && git push --follow-tags origin master && npm publish"
+ "release": "npm run -s build -s && npm t && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": "developit/mitt",
"keywords": [
@@ -75,7 +75,6 @@
"rimraf": "^2.5.2",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
- "standard-version": "^4.0.0",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
}