-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.81 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
{
"name": "lib",
"version": "0.20.0",
"description": "Library template with TypeScript",
"keywords": [
"template",
"library",
"typescript",
"github-actions"
],
"private": true,
"main": "index.js",
"engines": {
"node": "^20.0.0"
},
"author": "ink8bit",
"license": "MIT",
"scripts": {
"prebuild": "npm run types:check && npm run format && npm run lint && npm t",
"build": "npm run compile",
"compile": "babel src --extensions .js,.ts --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\" --out-dir lib",
"types:check": "tsc",
"lint": "eslint --ext .js,.ts .",
"prettier": "prettier \"**/*.[j,t]s\"",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- --list-different",
"test": "jest --forceExit",
"test:watch": "npm t -- --watch",
"test:ci": "npm t -- --config jest.config.ci.js",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ink8bit/ts-lib-template.git"
},
"bugs": {
"url": "https://github.com/ink8bit/ts-lib-template/issues"
},
"homepage": "https://github.com/ink8bit/ts-lib-template#readme",
"devDependencies": {
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.6",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.1",
"@babel/runtime": "^7.24.5",
"@typescript-eslint/eslint-plugin": "7.0.0",
"@typescript-eslint/parser": "6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "5.1.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "15.2.5",
"prettier": "3.2.5",
"typescript": "^5.4.5"
}
}