-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "js-boilerplate",
"version": "1.0.0",
"author": "Christian Kaisermann <[email protected]>",
"main": "dist/index.js",
"module": "dist/index.mjs",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest --no-cache",
"test:watch": "jest --no-cache --watchAll",
"lint": "eslint --ext .js {src,test}/",
"format": "prettier --loglevel silent --write \"src/**/*.js\" && eslint --fix \"src/**/*.js\"",
"version": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"tag": "git tag -a v$npm_package_version -m 'Release v$npm_package_version'",
"release": "npm run build && npm run version && git add package.json && git commit -m \"chore: release v$npm_package_version\"",
"prepublishOnly": "npm run release && npm run tag"
},
"devDependencies": {
"eslint": "^6.0.0",
"eslint-config-kiwi": "^1.3.0",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"rollup": "^2.21.0",
"rollup-plugin-terser": "^6.1.0"
}
}