generated from cremalab/app-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.63 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.63 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
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
{
"name": "crema-app-web",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "1.1.2"
},
"devDependencies": {
"@babel/core": "7.14.3",
"@cremalab/scripts-web": "0.10.0",
"@storybook/addon-actions": "6.2.9",
"@storybook/addon-centered": "5.3.21",
"@storybook/addon-essentials": "6.2.9",
"@storybook/addon-links": "6.2.9",
"@storybook/addons": "6.2.9",
"@storybook/cli": "6.2.9",
"@storybook/node-logger": "6.2.9",
"@storybook/preset-create-react-app": "3.1.7",
"@storybook/react": "6.2.9",
"@testing-library/cypress": "7.0.6",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "13.1.9",
"@types/jest": "26.0.23",
"@types/node": "12.20.13",
"@types/react": "17.0.8",
"@types/react-dom": "17.0.5",
"cross-env": "7.0.3",
"cypress": "7.4.0",
"dependency-cruiser": "10.0.1",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.24.0",
"husky": "6.0.0",
"husky-add-issue-tracker": "0.1.1",
"loki": "0.28.1",
"npm-run-all": "4.1.5",
"prettier": "2.3.0",
"serve": "11.3.2",
"source-map-explorer": "2.5.2",
"start-server-and-test": "1.12.3",
"typescript": "4.3.2",
"wait-on": "5.3.0"
},
"optionalDependencies": {
"fsevents": "*"
},
"scripts": {
"start": "react-scripts start",
"start:ci": "run-s build static",
"build": "react-scripts build",
"test": "react-scripts test --testMatch=[ \"**/?(*.)test.ts?(x)\" ]",
"new:component": "cremalab-scripts-web new component",
"new:type": "cremalab-scripts-web new type",
"new:util": "cremalab-scripts-web new util",
"prepush": "npm run test:ci",
"static": "serve -s build",
"deps:graph": "depcruise --validate --output-type dot -- src | dot -T svg > dependency-graph.svg",
"deps:report": "depcruise --validate --output-type err-html --output-to dependency-report.html -- src",
"test:ci": "cross-env CI=true run-s test:lint test:deps test:types \"test:unit -- -i\" test:visual:ci test:e2e:ci",
"test:deps": "depcruise --validate -- src",
"test:e2e": "cypress run",
"test:e2e:ci": "cross-env CYPRESS_baseUrl=http://localhost:5000 start-server-and-test start:ci http://localhost:5000 \"cypress run --port 5052\"",
"test:lint": "eslint -c ./.eslintrc.js ./src --ext .ts,.tsx",
"test:lint:fix": "npm run test:lint -- --fix",
"test:playground": "cross-env NODE_ENV=loki BABEL_ENV=development start-storybook --no-dll -p 9009 -s public",
"test:playground:build": "build-storybook --no-dll",
"test:playground:ci": "start-storybook --no-dll -p 5000 -s public --ci",
"test:types": "tsc",
"test:unit": "npm run test --",
"test:unit:coverage": "npm run test:unit -- --coverage --watchAll=false",
"test:unit:coverage:watch": "npm run test:unit:coverage -- --watchAll=true",
"test:visual": "cross-env CI=true loki --port 9009 --chromeDockerImage=yukinying/chrome-headless-browser-xl:74.0.3729.28",
"test:visual:ci:start": "cross-env CI=true loki --port 5000 --chromeDockerImage=yukinying/chrome-headless-browser-xl:74.0.3729.28",
"test:visual:ci": "start-server-and-test test:playground:ci http://localhost:5000 test:visual:ci:start",
"test:visual:approve": "npm run test:visual -- approve",
"test:visual:update": "npm run test:visual -- update",
"test:analyze": "run-s test:analyze:*",
"test:analyze:build": "npm run build",
"test:analyze:explore": "source-map-explorer build/static/js/main.*",
"build-storybook": "build-storybook -s public",
"storybook": "start-storybook -p 6006 -s public",
"prepare": "husky install"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!**/*.d.ts",
"!node_modules",
"!src/**/?(*.)stories.{ts,tsx}",
"!src/**/?(*.)test.{ts,tsx}",
"!src/**/index.{ts,tsx}",
"!src/types/*",
"!src/reportWebVitals.ts",
"!src/serviceWorker.ts"
]
},
"loki": {
"requireReference": true,
"configurations": {
"chrome": {
"target": "chrome.docker",
"width": 800,
"height": 800,
"deviceScaleFactor": 1,
"mobile": false,
"fitWindow": false
}
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}