-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 4.3 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
{
"name": "json-editor",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"set-version": "node ./tools/version.js",
"publish-all": "node ./tools/publish.js",
"dist": "rm -rf packages/*/dist; yarn hje:dist; yarn rje:dist; yarn widgets:dist; yarn code:dist; yarn docs:dist",
"hje:dist": "rm -rf packages/headless-json-editor/dist; yarn hje:bundle; yarn hje:ts",
"hje:bundle": "NODE_ENV=production PACKAGE_NAME=headless-json-editor webpack",
"hje:ts": "(cd packages/headless-json-editor && tsc --outDir dist --target ES2019 --declaration --noEmit false)",
"hje:analyze": "mkdir tmp; PACKAGE_NAME=headless-json-editor webpack --profile --json > tmp/hje-stats.json; webpack-bundle-analyzer tmp/hje-stats.json",
"rje:dist": "rm -rf packages/react-json-editor/dist; yarn rje:bundle; yarn rje:ts",
"rje:bundle": "NODE_ENV=production PACKAGE_NAME=react-json-editor webpack",
"rje:ts": "(cd packages/react-json-editor && tsc --build .)",
"rje:analyze": "mkdir tmp; PACKAGE_NAME=react-json-editor webpack --profile --json > tmp/rje-stats.json; webpack-bundle-analyzer tmp/rje-stats.json",
"widgets:dist": "rm -rf packages/rje-widgets/dist; yarn widgets:bundle; yarn widgets:ts",
"widgets:bundle": "NODE_ENV=production PACKAGE_NAME=rje-widgets webpack",
"widgets:ts": "(cd packages/rje-widgets && tsc --build .)",
"widgets:analyze": "mkdir tmp; PACKAGE_NAME=rje-widgets webpack --profile --json > tmp/rje-widgets-stats.json; webpack-bundle-analyzer tmp/rje-widgets-stats.json",
"code:dist": "rm -rf packages/rje-code-widgets/dist; yarn code:bundle; yarn code:ts",
"code:bundle": "NODE_ENV=production PACKAGE_NAME=rje-code-widgets webpack",
"code:ts": "(cd packages/rje-code-widgets && tsc --build .)",
"code:analyze": "mkdir tmp; PACKAGE_NAME=rje-code-widgets webpack --profile --json > tmp/rje-code-stats.json; webpack-bundle-analyzer tmp/rje-code-stats.json",
"docs": "storybook dev -p 6006",
"docs:dist": "storybook build --output-dir ./docs",
"lint": "eslint .",
"test": "jest --maxWorkers=2",
"test:coverage": "yarn test --collect-coverage",
"test:ci": "jest --maxWorkers=2 --ci --reporters=default --reporters=jest-junit"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@storybook/addon-actions": "7.0.25",
"@storybook/addon-essentials": "7.0.25",
"@storybook/addon-interactions": "7.0.25",
"@storybook/addon-links": "7.0.25",
"@storybook/addon-mdx-gfm": "7.0.25",
"@storybook/react": "7.0.25",
"@storybook/react-webpack5": "7.0.25",
"@storybook/testing-library": "^0.2.0",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.4",
"@types/node": "20.5.4",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"babel-loader": "^9.1.2",
"css-loader": "^6.8.1",
"eslint": "^8.47.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.6.13",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"mini-css-extract-plugin": "^2.7.6",
"prettier": "^3.0.2",
"resolve-url-loader": "^5.0.0",
"sass": "^1.66.1",
"sass-loader": "^13.3.2",
"storybook": "7.0.25",
"style-loader": "^3.3.3",
"terser-webpack-plugin": "^5.3.9",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.1",
"ts-node": "10.9.1",
"typescript": "~5.1.6",
"url-loader": "^4.1.1",
"webpack": "^5.88.1",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^5.1.4"
},
"resolutions": {
"jackspeak": "2.1.1"
},
"packageManager": "yarn@3.6.1"
}