-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
112 lines (112 loc) · 3.82 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
{
"name": "abacus",
"version": "0.0.1",
"author": "Automattic Inc.",
"description": "Automattic's Experimentation Platform UI",
"license": "GPL-2.0-or-later",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Automattic/abacus.git"
},
"@comment engines.node": "Puppeteer 3.x requires node 10.18.1 or newer.",
"engines": {
"node": ">=10.18.1"
},
"dependencies": {
"date-fns": "^2.13.0",
"debug": "^4.1.1",
"isomorphic-unfetch": "^3.0.0",
"next": "^9.3.5",
"qc-to_bool": "^1.1.2",
"qc-to_int": "^1.0.1",
"querystring": "^0.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.88.2"
},
"@comment devDependencies": {
"@package babel-loader": "Required by @storybook/react",
"@package isomorphic-fetch": "Added to make `fetch` available in integration tests. Hence the reason it is a dev dependency.",
"@package @storebook/react": "Requires `babel-loader`."
},
"devDependencies": {
"@next/bundle-analyzer": "^9.3.5",
"@storybook/preset-scss": "^1.0.2",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^5.3.18",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.3",
"@types/debug": "^4.1.5",
"@types/expect-puppeteer": "^4.4.1",
"@types/jest": "^25.2.1",
"@types/jest-environment-puppeteer": "^4.3.1",
"@types/node": "^13.13.1",
"@types/puppeteer": "^2.0.1",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"babel-loader": "^8.1.0",
"babel-plugin-remove-debug": "0.0.4",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.2",
"husky": "^4.2.5",
"isomorphic-fetch": "^2.2.1",
"jest": "^25.4.0",
"jest-puppeteer": "^4.4.0",
"lint-staged": "^10.1.7",
"prettier": "^2.0.5",
"puppeteer": "^3.0.2",
"sass": "^1.26.5",
"stylelint": "^13.3.3",
"stylelint-config-standard": "^20.0.0",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"typescript": "^3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.*": "prettier --write",
"*.{css,scss}": "stylelint --fix",
"*.{ts,tsx}": "eslint --fix"
},
"scripts": {
"analyze": "cross-env ANALYZE=true next build",
"build": "next build",
"dev": "next --hostname a8c-abacus-local",
"docker-build": "docker build -t abacus .",
"docker-start": "docker run -p 8888:3000 abacus:latest",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "npm run lint:ts && npm run lint:css",
"lint:css": "stylelint **/*.{css,scss}",
"lint:css:fix": "stylelint **/*.{css,scss} --fix",
"lint:ts": "eslint . --ext .ts,.tsx",
"lint:ts:fix": "eslint . --ext .ts,.tsx --fix",
"start": "next start",
"storybook": "start-storybook",
"test:all": "npm run test:unit -- --coverage && npm run test:integration && npm run test:e2e",
"@comment test:e2e": "Runs the e2e tests. It will spawn Chromium to run the tests.",
"test:e2e": "jest --config=jest.e2e.config.js --runInBand",
"test:e2e:smoke": "jest --config=jest.e2e.config.js --runInBand e2e/smoke.test.tsx",
"test:integration": "jest --config=jest.integration.config.js --runInBand",
"test:unit": "jest",
"type-check": "tsc",
"verify": "npm run format:check && npm run lint && npm run test:all"
}
}