-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
109 lines (109 loc) · 2.93 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
{
"name": "json-studio",
"author": {
"name": "Sujin Lee",
"email": "[email protected]"
},
"description": "JSON Schema Based Editor",
"version": "0.1.1",
"repository": {
"type": "git",
"url": "https://github.com/sujinleeme/json-studio"
},
"keywords": [
"json",
"react",
"json-editor",
"monaco-editor"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/sujinleeme/json-studio/issues"
},
"homepage": "https://json-studio.vercel.app",
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "jest-environment-jsdom",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"modulePaths": [
"<rootDir>/src"
]
},
"dependencies": {
"@fluentui/react": "^8.114.0",
"@monaco-editor/react": "^4.6.0",
"@vitejs/plugin-react": "^4.2.1",
"ajv": "^8.12.0",
"browserslist-to-esbuild": "^1.2.0",
"dirty-json": "^0.9.2",
"monaco-editor": "^0.45.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.3.3",
"uuid": "^9.0.1",
"vite": "^5.0.10",
"vite-tsconfig-paths": "^4.2.2",
"web-vitals": "^3.5.0"
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage .",
"test:debug": "jest --inspect-brk --runInBand --no-cache",
"preview": "vite preview",
"format": "prettier --write src/**/*.ts{,x}",
"lint": "tsc --noEmit && eslint src/**/*.ts{,x}",
"predeploy": "yarn build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn test",
"pre-push": "lint-staged && yarn test"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"yarn lint --fix"
],
"*.{json,md,html}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"devDependencies": {
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-airbnb-typescript-prettier": "^5.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.0",
"ts-jest": "^29.1.1"
}
}