-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
60 lines (60 loc) · 1.49 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
{
"name": "@snapwp/next",
"version": "0.2.1",
"license": "AGPL-3.0",
"description": "Utility functions and components for SnapWP application",
"author": "rtCamp",
"type": "module",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0",
"yarn": "please-use-npm"
},
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"./withSnapWP": {
"import": "./dist/config/with-snap-wp.js",
"require": "./dist/config/with-snap-wp.js",
"types": "./dist/types/config/with-snap-wp.d.ts"
},
"./defaultError": {
"import": "./dist/components/default-error.js",
"require": "./dist/components/default-error.js",
"types": "./dist/types/components/default-error.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"
},
"peerDependencies": {
"next": "^15",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@snapwp/core": "*",
"@snapwp/query": "*"
},
"dependencies": {
"html-react-parser": "^5.1.12",
"modify-source-webpack-plugin": "^4.1.0"
},
"devDependencies": {
"@types/react-dom": "*",
"typescript": "*",
"resolve-tspaths": "*",
"tsc-watch": "*",
"@snapwp/types": "*"
}
}