forked from strapi/strapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 5.54 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
{
"name": "strapi",
"private": true,
"bugs": {
"url": "https://github.com/strapi/strapi/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/strapi/strapi.git"
},
"license": "SEE LICENSE IN LICENSE",
"author": {
"name": "Strapi Solutions SAS",
"email": "[email protected]",
"url": "https://strapi.io"
},
"maintainers": [
{
"name": "Strapi Solutions SAS",
"email": "[email protected]",
"url": "https://strapi.io"
}
],
"workspaces": [
"packages/*",
"packages/*/*",
"examples/*",
"examples/plugins/*",
".github/actions/*",
"scripts/*"
],
"scripts": {
"build": "nx run-many --target=build --nx-ignore-cycles",
"build:size": "cd examples/getstarted && yarn build",
"build:ts": "nx run-many --target=build:ts --nx-ignore-cycles",
"clean": "nx run-many --target=clean --nx-ignore-cycles",
"doc:api": "node scripts/open-api/serve.js",
"format": "yarn format:code && yarn format:other",
"format:code": "yarn prettier:code --write",
"format:other": "yarn prettier:other --write",
"lint": "nx run-many --target=lint --nx-ignore-cycles && yarn lint:other",
"lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix",
"lint:other": "npm run prettier:other -- --check",
"prepare": "husky install",
"prettier:check": "yarn prettier:code --check && yarn prettier:other --check",
"prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts,jsx,tsx,json}\"",
"prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,mdx,css,scss,yaml,yml}\"",
"prettier:write": "prettier --write \"**/*.{js,ts,jsx,tsx,json,md,mdx,css,scss,yaml,yml}\"",
"setup": "yarn && yarn clean && yarn build --skip-nx-cache",
"test:api": "node test/scripts/run-api-tests.js",
"test:clean": "rimraf ./coverage",
"test:e2e": "node test/scripts/run-e2e-tests.js",
"test:e2e:clean": "node test/scripts/run-e2e-tests.js clean",
"test:e2e:debug": "node test/scripts/run-e2e-tests.js --debug",
"test:front": "cross-env IS_EE=true jest --config jest.config.front.js",
"test:front:all": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
"test:front:all:ce": "cross-env IS_EE=false nx run-many --target=test:front:ce --nx-ignore-cycles",
"test:front:ce": "cross-env IS_EE=false run test:front",
"test:front:update": "run test:front -u",
"test:front:update:ce": "yarn test:front:ce -u",
"test:front:watch": "cross-env IS_EE=true run test:front --watch",
"test:front:watch:ce": "cross-env IS_EE=false run test:front --watch",
"test:generate-app": "yarn build:ts && node test/scripts/generate-test-app.js",
"test:generate-app:no-build": "node test/scripts/generate-test-app.js",
"test:ts": "yarn test:ts:packages && yarn test:ts:front && yarn test:ts:back",
"test:ts:back": "nx run-many --target=test:ts:back --nx-ignore-cycles",
"test:ts:front": "nx run-many --target=test:ts:front --nx-ignore-cycles",
"test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles",
"test:unit": "jest --config jest.config.js",
"test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles",
"test:unit:watch": "run test:unit --watch",
"watch": "nx run-many --target=watch --nx-ignore-cycles"
},
"resolutions": {
"@strapi/design-system": "1.17.0-typescript.0",
"@types/koa": "2.13.4"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-react": "7.18.6",
"@playwright/test": "1.38.1",
"@strapi/admin-test-utils": "workspace:*",
"@strapi/eslint-config": "0.2.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.58",
"@swc/helpers": "0.5.1",
"@swc/jest": "0.2.26",
"@types/prettier": "2.7.3",
"@types/react": "18.2.39",
"@types/react-dom": "18.2.17",
"@types/react-helmet": "6.1.8",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "5.1.32",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"babel-eslint": "10.1.0",
"chalk": "4.1.2",
"chokidar": "3.5.3",
"core-js": "3.33.0",
"cross-env": "7.0.3",
"dotenv": "14.2.0",
"eslint": "8.50.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-check-file": "2.6.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest-dom": "5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-testing-library": "6.0.2",
"execa": "5.1.1",
"find-up": "5.0.0",
"fs-extra": "10.0.0",
"get-port": "5.1.1",
"glob": "7.2.3",
"husky": "8.0.2",
"inquirer": "8.2.5",
"jest": "29.6.0",
"jest-circus": "29.6.0",
"jest-cli": "29.6.0",
"jest-environment-jsdom": "29.6.1",
"jest-watch-typeahead": "2.2.2",
"lerna": "6.6.2",
"lint-staged": "13.3.0",
"lodash": "4.17.21",
"nx": "16.8.1",
"plop": "2.7.6",
"prettier": "2.8.4",
"qs": "6.11.1",
"rimraf": "3.0.2",
"supertest": "6.3.3",
"ts-jest": "29.1.0",
"typescript": "5.2.2",
"yargs": "17.7.2"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0 <=20.x.x",
"npm": ">=6.0.0"
},
"isStrapiMonorepo": true
}