-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.16 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
{
"name": "my-lib",
"private": true,
"packageManager": "[email protected]",
"version": "1.0.0",
"description": "",
"main": "./dist/cjs/my-lib.js",
"module": "./dist/es/my-lib.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/my-lib.js",
"import": "./dist/es/my-lib.js"
}
},
"files": [
"dist"
],
"scripts": {
"type:check": "tsc --noEmit",
"dev": "NODE_ENV=development vite",
"clean": "rimraf dist",
"build": "pnpm run type:check && pnpm run clean && pnpm run build:bundle && pnpm run build:types",
"build:bundle": "NODE_ENV=production vite build",
"build:types": "tsc -p tsconfig.types.json",
"test": "vitest run --mode development",
"test:dev": "vitest --ui --mode development",
"test:coverage": "vitest run --mode development --coverage",
"lint:staged": "eslint --format codeframe",
"lint": "pnpm run lint:staged -- '**/*.{js,jsx,ts,tsx}'",
"lint:fix": "pnpm run lint -- --fix",
"format:staged": "prettier-eslint --write",
"format:scripts": "pnpm run format:staged -- '**/*.{js,jsx,ts,tsx}'",
"format:others": "pnpm run format:staged -- 'src/**/*.{css,scss,json}'",
"format:check": "prettier --check 'src/**/*.{js,jsx,ts,tsx,css,scss,json}'",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zadzbw/vite-lib-template.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/zadzbw/vite-lib-template/issues"
},
"homepage": "https://github.com/zadzbw/vite-lib-template#readme",
"browserslist": [
"defaults",
"> 1%",
"not IE 11"
],
"engines": {
"node": ">= 18"
},
"devDependencies": {
"@types/node": "^18.15.10",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/ui": "^0.30.1",
"eslint": "^8.36.0",
"eslint-config-zad": "^1.0.7",
"eslint-formatter-codeframe": "^7.32.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.8",
"prettier-eslint-cli": "^7.1.0",
"rimraf": "^5.0.0",
"typescript": "^5.0.4",
"vite": "^4.3.2",
"vitest": "^0.30.1"
},
"volta": {
"node": "18.15.0"
}
}