forked from marmelab/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.46 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
{
"private": true,
"name": "react-admin-lerna",
"scripts": {
"build": "lerna run build",
"watch": "lerna run --parallel watch",
"build-demo": "cd examples/demo && cross-env REACT_APP_DATA_PROVIDER=rest yarn -s build",
"test-unit": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest",
"test-unit-ci": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest --runInBand",
"test-e2e": "yarn run -s build && cross-env NODE_ENV=test && cd cypress && yarn -s test",
"test-e2e-local": "cd cypress && yarn -s start",
"test": "yarn -s test-unit && yarn -s test-e2e",
"doc": "cd docs && jekyll server . --watch",
"lint": "eslint --ext .js,.ts,.tsx \"./packages/**/src/**/*.{js,ts,tsx}\" \"./examples/**/src/**/*.{js,ts,tsx}\" \"./cypress/**/*.{js,ts,tsx}\"",
"prettier": "prettier --config ./.prettierrc.js --write --list-different \"packages/*/src/**/*.{js,json,ts,tsx,css,md}\" \"examples/*/src/**/*.{js,ts,json,tsx,css,md}\" \"cypress/**/*.{js,ts,json,tsx,css,md}\"",
"run-simple": "cd examples/simple && yarn -s start",
"run-tutorial": "yarn run -s build && cd examples/tutorial && yarn -s start",
"run-demo": "cd examples/demo && cross-env REACT_APP_DATA_PROVIDER=rest yarn -s start",
"run-graphql-demo": "cd examples/demo && cross-env REACT_APP_DATA_PROVIDER=graphql yarn -s start",
"run-demo-watch": "concurrently \"yarn run watch\" \"yarn run run-demo\"",
"run-graphql-demo-watch": "concurrently \"yarn run watch\" \"yarn run run-graphql-demo\""
},
"jest": {
"setupFilesAfterEnv": [
"./test-setup.js"
],
"preset": "ts-jest/presets/js-with-ts",
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/",
"/esm/",
"/examples/simple/"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
}
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/react": "^16.9.0",
"@types/react-redux": "^7.1.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-eslint": "^10.1.0",
"cheerio": "~1.0.0-rc.2",
"concurrently": "^5.1.0",
"cross-env": "^5.2.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"express": "~4.16.3",
"full-icu": "~1.3.1",
"husky": "^2.3.0",
"jest": "^24.7.0",
"lerna": "~2.9.1",
"lint-staged": "^8.1.7",
"lolex": "~2.3.2",
"mutationobserver-shim": "^0.3.3",
"prettier": "~2.1.1",
"raf": "~3.4.1",
"ts-jest": "^24.0.0",
"wait-on": "^3.2.0",
"whatwg-fetch": "^3.0.0"
},
"workspaces": [
"packages/*",
"examples/*",
"cypress"
],
"dependencies": {
"typescript": "^4.0.2"
}
}