-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.15 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "rsbuild-plugin-glsl",
"version": "1.0.1",
"description": "Import, inline (and compress) GLSL shader files",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./ext": {
"types": "./ext.d.ts"
}
},
"files": [
"dist",
"ext.d.ts",
"LICENSE",
"README.md",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/sakitam-fdd/rsbuild-plugin-glsl"
},
"bugs": {
"url": "https://github.com/sakitam-fdd/rsbuild-plugin-glsl/issues"
},
"homepage": "https://github.com/sakitam-fdd/rsbuild-plugin-glsl#readme",
"author": "sakitam-fdd <smilefdd@gmail.com>",
"scripts": {
"dev": "tsup-node --entry src/index.ts --entry src/glsl-loader.ts --sourcemap --format esm,cjs --watch --dts --shims",
"build": "tsup-node --entry src/index.ts --entry src/glsl-loader.ts --sourcemap --format esm,cjs --dts --shims",
"lint": "eslint src --ext js,jsx,ts,tsx",
"lint:write": "eslint src --ext js,jsx,ts,tsx --write",
"format": "prettier --write \"**/**/*.{ts,tsx,js,vue,md}\"",
"prettier": "prettier --write .",
"pretest": "pnpm run build",
"test": "playwright test",
"prepare": "husky install",
"commit": "git add . && cz",
"preinstall": "npx only-allow pnpm",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release --branches main"
},
"devDependencies": {
"@playwright/test": "^1.45.3",
"@rsbuild/core": "^1.0.1-beta.7",
"@aurorafe/eslint-config-base": "^1.1.0",
"@aurorafe/eslint-config-ts": "^1.1.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@semantic-release/github": "^10.1.3",
"@semantic-release/npm": "^12.0.1",
"@types/node": "^20.14.1",
"playwright": "^1.45.3",
"semantic-release": "^24.0.0",
"tsup": "^8.0.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"typescript": "^5.5.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x"
},
"peerDependenciesMeta": {
"@rsbuild/core": {
"optional": true
}
},
"packageManager": "pnpm@9.6.0",
"engines": {
"node": ">= 20.15.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,less,scss,html,md}": [
"prettier --write"
],
"package.json": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"cz-customizable": {
"config": ".cz-config.cjs"
}
},
"gitHooks": {
"pre-commit": "lint-staged --allow-empty",
"commit-msg": "commitlint -E GIT_PARAMS"
}
}