Skip to content

Commit

Permalink
build: add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Feb 22, 2021
1 parent 6b472f5 commit 0999e37
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test": "ava",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"rollup": "rollup -c build/rollup.js",
"build": "npm run lint && npm run test && npm run rollup"
"build": "npm run lint && npm run test && npm run rollup",
"release": "npm run build && np"
},
"dependencies": {
"is-what": "^3.12.0"
Expand All @@ -22,6 +23,8 @@
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-tree-shaking": "^1.8.0",
"np": "^7.4.0",
"prettier": "^2.2.1",
"rollup": "^2.38.4",
"rollup-plugin-typescript2": "^0.29.0",
"ts-node": "^9.1.1",
Expand Down Expand Up @@ -60,5 +63,9 @@
"tsconfig-paths/register",
"ts-node/register"
]
},
"np": {
"yarn": false,
"branch": "production"
}
}

0 comments on commit 0999e37

Please sign in to comment.