Skip to content

Commit 0ead0ba

Browse files
committed
simple build script
1 parent e637ac9 commit 0ead0ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"jsnext:main": "dist/mitt.es.js",
66
"source": "src/index.ts",
77
"module": "dist/mitt.es.js",
8+
"esmodules": "dist/mitt.modern.js",
89
"main": "dist/mitt.js",
910
"umd:main": "dist/mitt.umd.js",
1011
"typings": "dist/index.d.ts",
1112
"scripts": {
12-
"bump": "standard-version",
1313
"testonly": "mocha --require esm --require ts-node/register test/**/*.js",
1414
"lint": "eslint src test --ext ts --ext js",
1515
"test": "tsc src/index.ts --noEmit && npm run lint && npm run testonly",
1616
"bundle": "microbundle",
1717
"build": "npm-run-all --silent clean -p bundle -s docs",
1818
"clean": "rimraf dist",
1919
"docs": "documentation readme src/index.ts --section API -q --parse-extension ts",
20-
"release": "npm run build -s && npm run bump && git push --follow-tags origin master && npm publish"
20+
"release": "npm run -s build -s && npm t && git tag $npm_package_version && git push && git push --tags && npm publish"
2121
},
2222
"repository": "developit/mitt",
2323
"keywords": [
@@ -75,7 +75,6 @@
7575
"rimraf": "^2.5.2",
7676
"sinon": "^1.17.4",
7777
"sinon-chai": "^2.8.0",
78-
"standard-version": "^4.0.0",
7978
"ts-node": "^8.10.1",
8079
"typescript": "^3.9.3"
8180
}

0 commit comments

Comments
 (0)