forked from kettanaito/create-typescript-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.27 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@lukaspolak/create-typescript-library",
"version": "0.0.1",
"description": "A repository template for a TypeScript library.",
"keywords": [],
"repository": "[email protected]:lukaspolak/create-typescript-library.git",
"license": "MIT",
"author": "Lukas Polak <[email protected]> (https://lukaspolak.com/)",
"main": "lib/umd/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"README.md"
],
"scripts": {
"build": "yarn lint && yarn clean && rollup -c rollup.config.ts",
"clean": "rimraf ./lib",
"commit": "cz",
"format": "prettier --write .",
"hygen:file": "hygen file new",
"lint": "eslint ./{src,test}/**/*.ts",
"prepublishOnly": "yarn build && yarn test:lib && yarn test",
"start": "rollup -c rollup.config.ts -w",
"test": "jest",
"test:coverage": "jest --collectCoverage",
"test:lib": "jest STANDARDS.ts --testRegex=\"(STANDARDS\\.ts)\"",
"test:silent": "jest --silent",
"test:watch": "jest --watch",
"preversion": "yarn build && yarn test",
"version": "yarn run format && git add -A src",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
},
"pre-push": "yarn build && yarn test:silent"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
]
},
"prettier": "@lukaspolak/prettier-config",
"devDependencies": {
"@lukaspolak/prettier-config": "^0.0.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"commitizen": "^4.2.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"hygen": "^6.0.4",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"prettier-plugin-packagejson": "^2.2.9",
"rimraf": "^3.0.2",
"rollup": "^2.38.4",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 14.15.1"
}
}