-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.47 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.47 KB
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
{
"name": "@snapwp/core",
"version": "0.4.0",
"license": "AGPL-3.0",
"description": "Shared utility methods and React components used by our other packages.",
"author": "rtCamp",
"type": "module",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0",
"yarn": "please-use-npm"
},
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"./parseExternalRemotePatterns": {
"import": "./dist/utils/parseExternalRemotePatterns.js"
},
"./config": {
"import": "./dist/config/snapwp-config-manager.js",
"require": "./dist/config/snapwp-config-manager.js",
"types": "./dist/types/config/snapwp-config-manager.d.ts"
}
},
"scripts": {
"build": "tsc --build",
"postbuild": "npm run resolve-paths",
"force-build": "tsc --build --force",
"postforce-build": "npm run resolve-paths",
"dev": "tsc-watch -b --onSuccess \"npm run resolve-paths\"",
"resolve-paths": "resolve-tspaths",
"lint": "eslint . --config ../../.eslintrc.json",
"lint:fix": "eslint . --config ../../.eslintrc.json --fix",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@wordpress/style-engine": "^2.43.0",
"clsx": "^2.1.1"
},
"peerDependencies": {
"react": "^19.0.0"
},
"devDependencies": {
"@snapwp/types": "*",
"@types/jest": "*",
"@types/node": "*",
"@types/react": "*",
"html-react-parser": "^5.2.17",
"resolve-tspaths": "*",
"tsc-watch": "*",
"typescript": "*"
}
}