-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
122 lines (122 loc) · 3.28 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
115
116
117
118
119
120
121
122
{
"name": "@storyblok/react",
"type": "module",
"version": "4.3.2",
"private": false,
"packageManager": "[email protected]",
"description": "SDK to integrate Storyblok into your project using React.",
"author": "Storyblok",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/storyblok/storyblok-react"
},
"bugs": {
"url": "https://github.com/storyblok/storyblok-react/issues"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./rsc": {
"types": "./dist/rsc/index.d.ts",
"import": "./dist/rsc.mjs",
"require": "./dist/rsc.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite build --watch",
"build": "vite build",
"test": "pnpm run test:unit:ci && pnpm run test:e2e",
"test:unit": "vitest",
"test:unit:ci": "vitest run",
"test:unit:ui": "vitest --ui",
"test:e2e": "start-server-and-test playground:next13-app-router http://localhost:3000/ cy:run",
"test:e2e-watch": "start-server-and-test playground:next13-app-router http-get://localhost:3000/ cy:open",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:comp": "cypress run-ct",
"playground": "pnpm run --filter ./playground/react dev",
"playground:next": "pnpm run --filter ./playground/next15 dev",
"playground:next13": "pnpm run --filter ./playground/next13 dev",
"playground:next13-app-router": "pnpm run --filter ./playground/next13-app-router dev",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"next": "^13 || ^14 || ^15",
"react": "^17 || ^18 || ^19",
"react-dom": "^17 || ^18 || ^19"
},
"dependencies": {
"@storyblok/js": "3.2.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@cypress/react": "^8.0.2",
"@cypress/vite-dev-server": "^5.2.1",
"@storyblok/eslint-config": "^0.3.0",
"@tsconfig/recommended": "^1.0.8",
"@types/node": "^20.17.10",
"@types/react": "18.3.12",
"@vitejs/plugin-react": "^4.3.4",
"babel-jest": "^29.7.0",
"cypress": "^13.17.0",
"eslint": "^9.17.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-jest": "^28.10.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"simple-git-hooks": "^2.11.1",
"start-server-and-test": "^2.0.9",
"typescript": "5.6.3",
"vite": "^6.0.6",
"vite-plugin-dts": "^4.4.0",
"vitest": "^2.1.8"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [2, "always", 200]
}
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint",
"pre-push": "pnpm commitlint --last --verbose"
}
}