This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) Β· 4.28 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
{
"name": "mattscholta",
"description": "Matthew Scholta | Just a kid, you know?",
"version": "1.0.0",
"private": true,
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": [
"npm run lint:prettier:fix"
],
"*.css": [
"npm run lint:styles"
],
"*.{js,jsx,ts,tsx}": [
"npm run lint:scripts"
],
"*.test.{js,jsx,ts,tsx}": [
"npm run test:updated"
]
},
"nyc": {
"all": true,
"exclude": [
"**/__test__/*",
"**.test.*"
],
"include": "src/",
"report-dir": "build/cypress/coverage",
"reporter": [
"html",
"json",
"lcov"
]
},
"scripts": {
"build": "next build",
"clean": "npm run clean:dist && npm run clean:generated && npm run clean:snapshots",
"clean:dist": "rimraf dist",
"clean:generated": "rimraf src/generated",
"clean:snapshots": "rimraf **/__snapshots__",
"cypress:open": "cross-env NODE_OPTIONS=\"-r dotenv/config\" NODE_ENV=test cypress open",
"cypress:run": "cross-env NODE_OPTIONS=\"-r dotenv/config\" NODE_ENV=test cypress run",
"lint": "npm run lint:prettier && npm run lint:scripts && npm run lint:styles",
"lint:fix": "npm run lint:prettier:fix && npm run lint:scripts:fix && npm run lint:styles:fix",
"lint:prettier": "prettier --check --loglevel=warn \"src/**/*.(js|jsx|ts|tsx)\"",
"lint:prettier:fix": "prettier --write \"src/**/*.(js|jsx|ts|tsx)\"",
"lint:scripts": "eslint --ext '.js,.jsx,.ts,.tsx' src",
"lint:scripts:fix": "eslint --fix --ext '.js,.jsx,.ts,.tsx' src",
"lint:styles": "stylelint \"./(public|src)/**/*.css\"",
"lint:styles:fix": "stylelint --fix \"./(public|src)/**/*.css\"",
"prebuild": "npm run lint",
"prebuild:backup": "npm run lint && npm run test:ci",
"prepare": "husky install",
"start": "next start",
"start:dev": "cross-env NODE_OPTIONS=\"--inspect\" next dev --port 9000",
"start:docker": "next -p ${CLIENT_PORT}",
"start:ts": "NODE_ENV=production ts-node-dev --project tsconfig.json ./src/index.ts",
"test": "npm run test:coverage",
"test:ci": "jest --coverage",
"test:ci:new": "jest --coverage && codecov --token=XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"test:coverage": "jest --coverage",
"test:reports": "jest --coverage && open build/coverage/lcov-report/index.html",
"test:update": "jest --detectOpenHandles --onlyChanged --updateSnapshot --watch",
"test:updated": "jest --detectOpenHandles --onlyChanged --passWithNoTests",
"test:watch": "jest --detectOpenHandles --onlyChanged --watch"
},
"dependencies": {
"@barguide/style-guide": "2.0.13",
"classnames": "^2.3.1",
"graphql-request": "^4.3.0",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
"next": "^12.1.6",
"next-pwa": "^5.4.6",
"pino": "^7.9.2",
"pino-pretty": "^7.6.0",
"query-string": "^7.1.1",
"react": "^18.0.0",
"react-cookie": "^4.1.1",
"react-dom": "^18.0.0",
"react-intersection-observer": "^8.33.1",
"react-tippy": "^1.4.0",
"react-toastify": "^8.2.0",
"recoil": "^0.6.1",
"swiper": "^8.0.7",
"ua-parser-js": "^1.0.2"
},
"devDependencies": {
"@barguide/dotfiles": "^1.0.6",
"@barguide/icons": "^2.0.25",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@cypress/code-coverage": "^3.9.12",
"@next/bundle-analyzer": "^12.1.6",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^13.3.0",
"@types/gtag.js": "^0.0.10",
"@types/lodash": "^4.14.181",
"@types/node": "^17.0.23",
"@types/pino": "^7.0.5",
"@types/react": "^17.0.43",
"@types/ua-parser-js": "^0.7.36",
"autoprefixer": "^10.4.4",
"babel-jest": "^27.5.1",
"babel-plugin-istanbul": "^6.1.1",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"cypress": "^9.5.3",
"dotenv": "^16.0.0",
"graphql-tag": "^2.12.6",
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-transform-graphql": "^2.1.0",
"jsdom": "^19.0.0",
"lint-staged": "^12.3.7",
"postcss": "^8.4.12",
"postcss-normalize": "^10.0.1",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.23",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.3"
}
}