-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
139 lines (139 loc) · 4.58 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "geppetto",
"productName": "Geppetto",
"version": "2.0.0-alpha.0",
"description": "Geppetto is a free and open animation tool to embed webGL animations in a web site.",
"author": "Matthijs Groen <[email protected]> (https://github.com/matthijsgroen)",
"contributors": [
"Guido Theelen <[email protected]> (https://github.com/guidotheelen)"
],
"private": true,
"homepage": "./",
"dependencies": {
"@szhsin/react-menu": "^3.0.0",
"date-fns": "^2.28.0",
"delaunator": "^5.0.0",
"geppetto-player": "1.3.3",
"immer": "^9.0.12",
"react": "^18.0.0",
"react-complex-tree": "1.1.8",
"react-dom": "^18.0.0",
"react-draggable": "^4.4.5",
"react-scripts": "5.0.1",
"sass": "^1.51.0",
"styled-components": "^5.3.3",
"typescript": "^4.6.3",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4"
},
"scripts": {
"start": "craco start",
"prebuild": "bin/writeVersion.js",
"build": "craco build",
"lint": "eslint src/**/*.ts{,x}",
"test": "react-scripts test",
"storybook": "start-storybook -p 6006 -s public",
"test-storybook": "test-storybook",
"build-storybook": "build-storybook -s public",
"test:coverage": "react-scripts test --coverage --watchAll=false",
"test-storybook:coverage": "test-storybook --coverage",
"coverage-report": "cp coverage/storybook/coverage-storybook.json coverage/coverage-storybook.json && nyc report --reporter=lcovonly --reporter=html -t coverage --report-dir coverage/complete",
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook --maxWorkers=2 --coverage\""
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.13.0",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@craco/craco": "^6.4.3",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-coverage": "^0.0.2",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/jest": "^0.0.10",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/node-logger": "^6.5.9",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.9",
"@storybook/test-runner": "^0.3.0",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.24",
"@types/node": "^12.20.47",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/styled-components": "^5.1.7",
"@types/wicg-file-system-access": "^2020.9.5",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"concurrently": "^7.2.2",
"raw.macro": "^0.4.2",
"wait-on": "^6.0.1"
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!delaunator|robust-predicates)"
],
"coveragePathIgnorePatterns": [
"<rootDir>/.*.stories.tsx$",
"<rootDir>/src/old/.*",
"<rootDir>/.*/.*Canvas.tsx$",
"<rootDir>/src/application/webgl/lib/webgl.ts$",
"<rootDir>/src/application/webgl/programs/.*",
"<rootDir>/src/reportWebVitals.ts",
"<rootDir>/src/service-worker.ts",
"<rootDir>/src/serviceWorkerRegistration.ts"
],
"coverageThreshold": {
"global": {
"statements": 16,
"branches": 8,
"lines": 16,
"functions": 11
},
"./src/animation/": {
"statements": 92,
"branches": 83,
"lines": 93,
"functions": 84
}
},
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"eslintIgnore": [
"/src/old/**"
]
}