Skip to content

Commit

Permalink
simple build script
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed May 26, 2020
1 parent e637ac9 commit 0ead0ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"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",
"bundle": "microbundle",
"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": [
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit 0ead0ba

Please sign in to comment.