-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.56 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
{
"name": "@susisu/hokemi",
"version": "0.3.0",
"description": "Minimal type-safe dependency injection framework for TypeScript",
"repository": "https://github.com/susisu/hokemi.git",
"author": "Susisu <[email protected]>",
"license": "MIT",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
},
"files": [
"lib",
"src",
"!src/**/*.spec.ts",
"!src/**/__tests__"
],
"scripts": {
"format": "prettier --write '*.js' src",
"format:check": "prettier --check '*.js' src",
"lint": "eslint --fix '*.js' src",
"lint:check": "eslint '*.js' src",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --coverage",
"test:dev": "vitest dev --coverage.enabled --coverage.reporter=text",
"build": "tsc --build tsconfig.build.json",
"clean": "run-s clean:tsc clean:rm",
"clean:tsc": "tsc --build tsconfig.build.json --clean",
"clean:rm": "rimraf lib",
"prepublishOnly": "run-s clean format:check lint:check typecheck test build"
},
"devDependencies": {
"@susisu/eslint-config": "^0.0.94",
"@types/node": "^22.13.1",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/eslint-plugin": "^1.1.27",
"eslint": "^9.20.0",
"eslint-config-prettier": "^10.0.1",
"globals": "^15.14.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.5.0",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"typescript": "~5.7.3",
"vitest": "^3.0.5"
}
}