-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.3 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
82
83
84
85
86
87
88
{
"name": "xx-project-xx",
"version": "0.1.0",
"description": "",
"type": "module",
"keywords": [
"typescript"
],
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"types": "./dist/index.d.ts",
"scripts": {
"build": "run-s clean build:raw",
"build:raw": "tsup src/index.ts --format cjs,esm --dts-resolve",
"clean": "rimraf dist",
"test": "run-s test:js test:ts",
"test:js": "vitest --reporter=dot",
"test:ts": "tsc --noEmit",
"start": "node dist/index.mjs",
"dev": "esmo src/index.ts",
"coverage": "vitest run --coverage",
"lint": "run-s lint:ts lint:eslint lint:prettier",
"lint:ts": "tsup src/index.ts --dts",
"lint:eslint": "eslint '**/*.ts'",
"lint:prettier": "prettier '**/*.{ts,json,yaml,md}'",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"update": "taze patch -r -w --exclude @types/node",
"update:minor": "taze minor -r -w --exclude @types/node",
"update:major": "taze major -r -w --exclude @types/node",
"release": "changeset publish"
},
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"author": "xx-author-xx",
"devDependencies": {
"@changesets/cli": "^2.22.0",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"c8": "^7.11.0",
"esbuild": "^0.14.28",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"ts-node": "^10.7.0",
"tslib": "^2.3.1",
"tsup": "^5.12.1",
"typescript": "^4.6.3",
"vite": "^2.8.6",
"vitest": "^0.8.0"
},
"repository": {
"type": "git",
"url": "xx-repository-xx"
},
"bugs": {
"url": "xx-repository-xx/issues"
},
"homepage": "xx-repository-xx#readme",
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,yaml,md}": [
"prettier --write"
]
}
}