forked from react-page/react-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 5.75 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"private": true,
"author": "ORY GmbH",
"name": "react-page",
"license": "MIT",
"workspaces": [
"packages/editor",
"packages/plugins/content/*",
"packages/plugins/layout/*",
"packages/react-admin",
"examples"
],
"devDependencies": {
"@babel/cli": "7.2.0",
"@babel/core": "7.2.0",
"@babel/plugin-proposal-class-properties": "7.2.1",
"@babel/plugin-transform-modules-commonjs": "7.2.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "semantic-release/exec",
"@testing-library/react-hooks": "^3.4.2",
"@types/jest": "^26.0.19",
"@types/react": "^18.0.20",
"@types/react-dom": "^18.0.6",
"@types/react-redux": "^7.1.15",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"chokidar-cli": "^1.2.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"docsify": "^4.12.2",
"docsify-cli": "^4.4.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "1.7.1",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"gh-pages": "^3.1.0",
"husky": "^0.14.3",
"jest": "^26.6.3",
"jest-react-hooks-shallow": "^1.5.1",
"lerna": "^3.22.0",
"npm-run-all": "4.1.5",
"postcss": "^8.4.12",
"postcss-cli": "^9.1.0",
"postcss-custom-properties": "^12.1.5",
"postcss-import": "^14.1.0",
"postcss-nested": "^5.0.6",
"postcss-preset-env": "^7.4.3",
"prettier": "^2.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redux": "^4.0.5",
"replace-in-file": "^6.1.0",
"rimraf": "2.6.2",
"semantic-release": "^19.0.2",
"ts-jest": "^26.4.4",
"typescript": "^4.8.3",
"unexpected": "^11.14.0"
},
"scripts": {
"docs": "docsify serve -p 3100 ./docs",
"analyze": "ANALYZE=true npm-run-all build",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"bootstrap": "lerna bootstrap",
"build": "cross-env NODE_ENV=production lerna run build --stream",
"build:lib": "cross-env NODE_ENV=production lerna run build --ignore @react-page/examples --stream",
"build:examples": "yarn --cwd examples build",
"build:watch": "cross-env NODE_ENV=development lerna run build:watch --parallel",
"clean": "lerna run clean",
"clean:lerna": "lerna clean --yes",
"lint": "eslint -c .eslintrc.js '*/**/*.{js,ts,tsx}'",
"lint:watch": "npm-run-all watch:ts -- -c \"npm-run-all lint\"",
"lint:fix": "yarn lint --fix",
"dev": "cross-env TSC_WATCHFILE=UseFsEventsWithFallbackDynamicPolling npm-run-all -p build:watch dev:examples",
"dev:examples": "cross-env NODE_ENV=development lerna run dev --stream",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"postinstall": "npm-run-all bootstrap",
"watch:ts": "chokidar \"+(packages)/*/src/**/*.(ts|tsx)\" \"+(packages)/plugins/*/src/**/*.(ts|tsx)\" --initial",
"semantic-release": "semantic-release"
},
"jest": {
"setupFilesAfterEnv": [
"./config/jestTestSetup"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"transform": {
"^.+\\.(ts|tsx|js)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "./config/tsconfig.test.json"
}
},
"modulePathIgnorePatterns": [
"/lib/",
"/lib-es/",
"/examples/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/",
"/lib-es/",
"/examples/"
],
"watchPathIgnorePatterns": [
"/node_modules/",
"/lib/",
"/lib-es/",
"/examples/"
],
"transformIgnorePatterns": [
"/node_modules/react-dnd/(?!dist)"
]
},
"version": "0.0.0-development",
"repository": {
"type": "git",
"url": "https://github.com/react-page/react-page.git"
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "examples",
"release": "patch"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"message": "*",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "yarn replace-in-file '###VERSION###' ${nextRelease.version} packages/*/lib*/*.js examples/build/**/*.js",
"publishCmd": "RELEASE_CHANNEL=${nextRelease.channel} yarn build:examples && (yarn gh-pages -t true -r https://[email protected]/react-page/${nextRelease.channel || 'react-page.github.io'}.git -d examples/build -b main || true ) && yarn lerna publish --no-git-tag-version --no-git-reset --no-push --yes --dist-tag=${nextRelease.channel} --force-publish=* ${nextRelease.version}",
"addChannel": "npm dist-tag add ${nextRelease.version}@${nextRelease.channel}"
}
],
"@semantic-release/github"
]
},
"dependencies": {}
}