-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.67 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
{
"name": "ts-lib-starter",
"version": "0.1.0",
"description": "Typescript library starter",
"author": "Alessio Enrico Repetti <[email protected]>",
"license": "MIT",
"keywords": [
"typescript",
"lib",
"starter"
],
"repository": {
"type": "git",
"url": "https://github.com/repeale/ts-lib-starter"
},
"engines": {
"node": ">=18"
},
"main": "cjs/index.js",
"module": "es6/index.js",
"typings": "cjs/index.d.ts",
"files": [
"cjs",
"es6",
"CHANGELOG.md",
"LICENCE",
"README.md"
],
"scripts": {
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.es6.json",
"lint": "eslint 'src/**/*.ts' --quiet",
"lint:fix": "eslint 'src/**/*.ts' --quiet --fix",
"prebuild": "rimraf cjs/* es6/*",
"prepublishOnly": "npm run test:ci && npm run build",
"test:ci": "CI=true jest --ci --coverage=true",
"test": "jest --watch"
},
"dependencies": {
"tslib": "2.4.0"
},
"devDependencies": {
"@repeale/eslint-config": "1.6.0",
"@repeale/prettier-config": "1.0.8",
"@types/jest": "27.5.0",
"@types/prettier": "2.6.0",
"@typescript-eslint/eslint-plugin": "5.22.0",
"@typescript-eslint/parser": "5.22.0",
"eslint": "8.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"husky": "7.0.4",
"jest": "28.0.3",
"lint-staged": "12.4.1",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"ts-jest": "28.0.1",
"typescript": "4.6.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts}": [
"lint:fix"
]
}
}