-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 3.53 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "IRIS",
"version": "1.0.1",
"description": "Grapheel's IRIS webapp",
"main": "src/client/index.jsx",
"author": "Tim Lingard",
"license": "MIT",
"private": true,
"scripts": {
"dev": "poi --serve",
"build": "poi --prod",
"fast-lint": "eslint \"./src/**/*.js?(x)\" -c ./package.json",
"start": "poi --serve",
"start-static": "serve",
"lint": "eslint src",
"jest": "jest",
"test": "eslint src && jest",
"test-travis": "eslint src && jest --passWithNoTests"
},
"husky": {
"hooks": {
"pre-commit": "eslint \"./src/**/*.js?(x)\" -c ./package.json && jest --passWithNoTests"
}
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"assert": "^1.4.1",
"babel-jest": "^24.5.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^5.11.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-babel": "^8.0.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"expect": "^23.6.0",
"file-loader": "^2.0.0",
"husky": "^1.3.1",
"jest": "^24.5.0",
"node-sass": "^4.10.0",
"poi": "^12.2.12",
"sass-loader": "^7.1.0",
"sinon": "^7.2.2",
"uglifyjs-webpack-plugin": "^2.1.1"
},
"dependencies": {
"@babel/preset-react": "^7.0.0",
"filepond": "^3.7.2",
"grapheel-iris-client-api": "^1.6.6",
"helmet": "^3.12.0",
"history": "^4.7.2",
"immutable": "^4.0.0-rc.12",
"moment": "^2.23.0",
"prop-types": "^15.6.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-hot-loader": "^4.6.3",
"react-immutable-proptypes": "^2.1.0",
"react-redux": "^5.1.1",
"react-responsive": "^6.0.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "next",
"react-stripe-elements": "^2.0.1",
"react-swipeable": "^4.3.1",
"react-test-renderer": "^16.7.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"serve": "^10.1.1"
},
"babel": {
"presets": [
"@babel/env",
"@babel/react"
]
},
"engines": {
"node": "~8.10.0",
"npm": "~6.0.0",
"yarn": "^1.9.4"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/src/enzymeConfiguration.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(scss|css)": "<rootDir>/__mocks__/styleMock.js"
}
},
"eslintConfig": {
"extends": "airbnb",
"plugins": [
"react",
"import"
],
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"globals": {
"Stripe": true,
"Pusher": true
},
"rules": {
"class-methods-use-this": 0,
"function-paren-newline": 0,
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": [
"Link"
],
"specialLink": [
"to"
],
"aspects": [
"noHref",
"invalidHref",
"preferButton"
]
}
],
"jsx-a11y/label-has-for": "warn",
"jsx-a11y/no-autofocus": "warn",
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
"jsx-a11y/no-noninteractive-tabindex": 1,
"jsx-a11y/no-redundant-roles": 0,
"no-console": 0,
"no-restricted-globals": "warn",
"no-underscore-dangle": 0,
"react/destructuring-assignment": 0,
"react/jsx-one-expression-per-line": 0,
"react/forbid-prop-types": [
1
],
"react/no-array-index-key": 0,
"react/no-unescaped-entities": [
0
],
"react/no-unused-state": "warn",
"react/require-default-props": 0,
"new-cap": [
2,
{
"capIsNewExceptions": [
"Map",
"List"
]
}
]
}
}
}