-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.76 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.76 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
60
61
62
63
64
65
66
67
68
69
{
"name": "@snapwp/next",
"version": "0.4.0",
"license": "AGPL-3.0",
"description": "Utility functions and components for SnapWP application",
"author": "rtCamp",
"type": "module",
"engines": {
"node": ">=22.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"
},
"./seo": {
"import": "./dist/seo/index.js",
"require": "./dist/seo/index.js",
"types": "./dist/types/seo/index.js"
}
},
"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"
},
"peerDependencies": {
"@snapwp/core": "^0.4.0",
"@snapwp/query": "^0.4.0",
"next": "^15.5.15",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"fast-xml-parser": "^5.7.1",
"html-react-parser": "^5.2.17",
"modify-source-webpack-plugin": "^4.1.0",
"sanitize-html": "^2.17.3"
},
"devDependencies": {
"@snapwp/types": "*",
"@types/react-dom": "*",
"@types/sanitize-html": "^2.16.1",
"resolve-tspaths": "*",
"tsc-watch": "*",
"typescript": "*"
}
}