-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.92 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.92 KB
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
{
"name": "design-web",
"version": "0.0.1",
"homepage": "https://design-web.uk",
"private": true,
"dependencies": {
"@design-core/core": "^50.1.0",
"file-saver": "^2.0.5",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-scripts": "5.0.1"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -b production -d build",
"start": "REACT_APP_GIT_COMMIT=$(git rev-parse --short HEAD) REACT_APP_CORE_VERSION=$(node -p \"require('./node_modules/@design-core/core/package.json').version\") react-scripts start",
"build": "REACT_APP_GIT_COMMIT=$(git rev-parse --short HEAD) REACT_APP_CORE_VERSION=$(node -p \"require('./node_modules/@design-core/core/package.json').version\") react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"link-core": "(cd ../Design/src/Design-Core && sudo npm link) && npm link --no-save @design-core/core",
"unlink-core": "npm unlink --no-save @design-core/core && npm install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"moduleNameMapper": {
"^@design-core/core/canvasRenderer\\.js$": "<rootDir>/node_modules/@design-core/core/core/lib/renderers/canvasRenderer.js",
"^@design-core/core/property\\.js$": "<rootDir>/node_modules/@design-core/core/core/properties/property.js"
}
},
"browserslist": {
"production": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"eslint": "^10.2.0",
"eslint-config-google": "^0.14.0",
"gh-pages": "^6.3.0",
"jest-canvas-mock": "^2.5.2",
"serve": "^14.2.6"
}
}