-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.74 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
{
"name": "uml-editor",
"version": "0.1.0",
"private": true,
"dependencies": {
"@formatjs/cli": "^2.13.17",
"@popperjs/core": "^2.6.0",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/bootstrap": "^5.0.1",
"@types/classnames": "^2.2.11",
"@types/codemirror": "^0.0.103",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.17",
"@types/pako": "^1.0.1",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"bootstrap": "^5.0.0-beta1",
"bootstrap-icons": "^1.2.2",
"classnames": "^2.2.6",
"codemirror": "^5.59.0",
"eslint-plugin-formatjs": "^2.9.12",
"pako": "^2.0.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-intl": "^5.10.10",
"react-scripts": "4.0.1",
"storeon": "^3.1.4",
"ts-node": "^9.1.1",
"typescript": "^4.0.3",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"prebuild": "yarn run -s i18n:compile",
"build": "react-scripts build",
"postbuild": "echo -n uml-editor.app > build/CNAME",
"test": "react-scripts test",
"eject": "react-scripts eject",
"prettier:write": "prettier --write './src/**/*.{css,md,ts,tsx}'",
"prettier:check": "prettier --check './src/**/*.{css,md,ts,tsx}'",
"i18n:extract": "formatjs extract src/components/**/*.tsx --out-file lang/en.json",
"i18n:maintain": "ts-node-transpile-only --project scripts/tsconfig.json scripts/i18n-maintain.ts",
"i18n:compile": "formatjs compile-folder --ast lang src/i18n",
"favicon:16": "inkscape -w 16 -h 16 -o misc/favicon16.png misc/favicon.svg",
"favicon:24": "inkscape -w 24 -h 24 -o misc/favicon24.png misc/favicon.svg",
"favicon:32": "inkscape -w 32 -h 32 -o misc/favicon32.png misc/favicon.svg",
"favicon:64": "inkscape -w 64 -h 64 -o misc/favicon64.png misc/favicon.svg",
"logo:nav": "inkscape -w 512 -h 512 -o src/components/blocks/logo.png misc/favicon.svg",
"logo:192": "inkscape -w 192 -h 192 -o public/logo192.png misc/favicon.svg",
"logo:512": "inkscape -w 512 -h 512 -o public/logo512.png misc/favicon.svg",
"favicon:ico": "convert misc/favicon16.png misc/favicon24.png misc/favicon32.png misc/favicon64.png public/favicon.ico"
},
"eslintConfig": {
"plugins": [
"formatjs"
],
"extends": [
"react-app",
"react-app/jest"
]
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"printWidth": 100
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}