-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.06 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
77
78
79
80
81
{
"name": "{{PACKAGE_NAME}}",
"version": "1.0.0",
"description": "{{DESCRIPTION}}",
"main": "dist/main/index.js",
"typings": "dist/main/index.d.ts",
"module": "dist/module/index.js",
"homepage": "https://github.com/{{USER_NAME}}/{{PACKAGE_NAME}}#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/{{USER_NAME}}/{{PACKAGE_NAME}}.git"
},
"bugs": {
"url": "https://github.com/{{USER_NAME}}/{{PACKAGE_NAME}}/issues"
},
"keywords": [],
"files": [
"!**/*.json",
"!**/*.spec.*",
"!**/*.tsbuildinfo",
"LICENSE",
"README.md",
"dist/main",
"dist/module"
],
"prettier": {
"singleQuote": true,
"printWidth": 100
},
"license": "MIT",
"jest": {
"moduleDirectories": [
"<rootDir>/../",
"node_modules"
],
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"preset": "ts-jest",
"rootDir": "./src",
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
}
},
"scripts": {
"build": "npm run clean && npm run lint && npm run test:coverage && npm run build:main && npm run build:module",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"clean": "rimraf dist coverage",
"lint": "eslint --fix src/**/*.ts",
"test": "jest",
"test:coverage": "jest --coverage --coverageDirectory=../coverage",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "jest"
},
"devDependencies": {
"@eslint/compat": "^1.1.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"eslint": "^9.6.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^6.6.0",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
}
}