-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.73 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
{
"name": "react-workshop",
"version": "1.0.0",
"license": "MIT",
"main": "index.js",
"scripts": {
"build": "rm -rf dist && parcel build index.html",
"build-project": "parcel build final-project/index.html",
"delete": "git reset --hard && git clean -dfe coverage dist && npm install",
"precommit": "lint-staged",
"smashtest": "smashtest smashtest/*.smash",
"smashtest-headed": "smashtest smashtest/*.smash --headless=false",
"smashtest-screenshots": "smashtest smashtest/*.smash --screenshots=true",
"smashtest-screenshots-headed": "smashtest smashtest/*.smash --screenshots=true --headless=false",
"start": "parcel index.html",
"test": "jest --watchAll"
},
"lint-staged": {
"*.{css,md,scss,json}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add",
"jest --ci --findRelatedTests"
]
},
"babel": {
"plugins": [
"@babel/plugin-transform-runtime"
],
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testPathIgnorePatterns": [
"node_modules",
"dist",
"coverage"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$"
},
"dependencies": {
"@apollo/react-hooks": "^3.1.4",
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"classnames": "^2.2.6",
"graphql": "^14.3.1",
"graphql-tag": "^2.10.3",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@aerian/eslint-config-react": "^2.0.1",
"@babel/core": "^7.0.0-0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@testing-library/jest-dom": "^4.1.2",
"@testing-library/react": "^9.3.0",
"@types/jest": "^24.0.19",
"@types/node": "^12.11.1",
"autoprefixer": "^9.7.5",
"babel-jest": "^24.9.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"expect": "^25.2.3",
"husky": "^0.14.3",
"jest": "^24.8.0",
"lint-staged": "^7.2.0",
"node-sass": "^4.9.2",
"parcel-bundler": "^1.12.3",
"postcss-modules": "^1.5.0",
"prettier": "^1.18.2",
"prettier-plugin-packagejson": "^2.0.1",
"sass": "^1.26.3",
"smashtest": "^1.6.9"
}
}