-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.45 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 4.45 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
129
130
131
132
133
134
135
136
137
138
139
{
"name": "obel",
"description": "Ojek Belanja",
"homepage": "https://www.ojekbelanja.com/",
"version": "0.1.0",
"private": false,
"license": "MIT",
"author": {
"name": "Zain Fathoni",
"email": "zain.fathoni@gmail.com",
"url": "https://medium.com/pejuang-kode/"
},
"repository": "github:zainfathoni/obel",
"dependencies": {
"@emotion/core": "10.0.22",
"@emotion/styled": "10.0.23",
"@reach/router": "1.2.1",
"obj-str": "1.0.3",
"react": "16.10.2",
"react-dom": "16.12.0",
"react-scripts": "3.4.1",
"reakit": "1.0.0-beta.13"
},
"devDependencies": {
"@babel/core": "7.7.5",
"@fortawesome/fontawesome-free": "5.11.2",
"@fortawesome/fontawesome-pro": "5.11.2",
"@fortawesome/fontawesome-svg-core": "1.2.25",
"@fortawesome/free-brands-svg-icons": "5.11.2",
"@fortawesome/free-regular-svg-icons": "5.11.2",
"@fortawesome/free-solid-svg-icons": "5.11.2",
"@fortawesome/pro-light-svg-icons": "5.11.2",
"@fortawesome/pro-regular-svg-icons": "5.11.2",
"@fortawesome/pro-solid-svg-icons": "5.11.2",
"@fortawesome/react-fontawesome": "0.1.7",
"@fullhuman/postcss-purgecss": "1.3.0",
"@sentry/browser": "5.9.1",
"@snowcoders/sortier": "3.0.0",
"@storybook/addon-actions": "5.2.6",
"@storybook/addon-links": "5.2.4",
"@storybook/react": "5.2.6",
"@testing-library/cypress": "5.0.1",
"@testing-library/jest-dom": "4.2.0",
"@testing-library/react": "9.3.2",
"autoprefixer": "9.7.5",
"cross-env": "6.0.3",
"cypress": "3.4.1",
"eslint": "6.8.0",
"eslint-config-standard": "14.1.0",
"eslint-config-standard-react": "9.2.0",
"eslint-plugin-cypress": "2.6.1",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-node": "10.0.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.15.1",
"eslint-plugin-react-hooks": "2.3.0",
"eslint-plugin-standard": "4.0.1",
"husky": "3.0.5",
"is-ci-cli": "2.0.0",
"jest-axe": "3.2.0",
"lint-staged": "9.4.3",
"npm-run-all": "4.1.5",
"postcss-cli": "6.1.3",
"prettier-eslint-cli": "5.0.0",
"prop-types": "15.7.2",
"react-axe": "3.3.0",
"react-test-renderer": "16.12.0",
"serve": "11.2.0",
"snapshot-diff": "0.6.1",
"source-map-explorer": "2.1.1",
"start-server-and-test": "1.10.6",
"tailwindcss": "1.1.2"
},
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"start": "npm-run-all --parallel start:css start:react",
"build": "npm-run-all build:css build:react",
"start:react": "sleep 2 && react-scripts start",
"build:react": "react-scripts build",
"storybook": "start-storybook -p 9009 -s public",
"build:storybook": "build-storybook -s public",
"start:css": "postcss src/shared/tailwind.css -o src/index.css -w",
"build:css": "cross-env NODE_ENV=production postcss src/shared/tailwind.css -o src/index.css",
"serve": "serve --no-clipboard --single --listen 3000 build",
"test": "react-scripts test",
"test:coverage": "react-scripts test --coverage --watchAll=false",
"test:staged": "react-scripts test --findRelatedTests --watchAll=false",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:e2e": "is-ci \"test:e2e:run\" \"test:e2e:dev\"",
"pretest:e2e:run": "yarn build",
"test:e2e:run": "start-server-and-test serve http-get://localhost:3000 cy:run",
"test:e2e:dev": "start-server-and-test start http-get://localhost:3000 cy:open",
"format": "prettier-eslint --write \"src/**/*.{js,json}\"",
"lint": "eslint \"src/**/*.{js,json}\"",
"validate": "cross-env CI=true npm-run-all --parallel lint test:coverage test:e2e:run"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"extends": "react-app",
"plugins": [
"eslint-plugin-cypress"
],
"env": {
"cypress/globals": true
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/__stories__/*.stories.{js,jsx}",
"!src/index.js",
"!src/utils/serviceWorker.js",
"!src/setupTest.js"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"snapshotSerializers": [
"<rootDir>/node_modules/snapshot-diff/serializer.js"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}