forked from OperationCode/operationcode_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 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
130
131
132
133
134
135
{
"name": "operationcode_frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome": "^1.1.3",
"@fortawesome/fontawesome-free-brands": "^5.0.6",
"@fortawesome/fontawesome-free-regular": "^5.0.6",
"@fortawesome/fontawesome-free-solid": "^5.0.6",
"@fortawesome/react-fontawesome": "^0.0.17",
"@storybook/addon-actions": "^3.2.11",
"@storybook/addon-links": "^3.2.10",
"@storybook/cli": "^3.2.10",
"@storybook/react": "^3.2.11",
"axios": "^0.16.1",
"classnames": "^2.2.5",
"dateformat": "^2.0.0",
"express": "^4.15.2",
"history": "^4.6.1",
"husky": "^0.14.3",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.4",
"postscribe": "^2.0.8",
"prop-types": "^15.5.8",
"query-string": "^4.3.4",
"rc-progress": "^2.2.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-error-overlay": "^1.0.7",
"react-ga": "^2.2.0",
"react-modal": "^2.3.3",
"react-reveal-text": "^0.1.1",
"react-router": "^4.1.1",
"react-router-dom": "^4.2.2",
"react-scroll": "^1.5.4",
"react-scroll-up-button": "^1.5.9",
"react-select": "^1.0.0-rc.5",
"react-table": "^6.0.5",
"react-toastr": "^2.9.5",
"react-youtube": "^7.5.0",
"sinon": "^2.3.2",
"universal-cookie": "^2.0.7"
},
"devDependencies": {
"autoprefixer": "7.1.0",
"babel-cli": "^6.26.0",
"babel-core": "6.24.1",
"babel-eslint": "^8.2.2",
"babel-jest": "20.0.3",
"babel-loader": "7.0.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react-app": "^3.0.3",
"babel-runtime": "6.23.0",
"body-parser": "^1.17.2",
"case-sensitive-paths-webpack-plugin": "1.1.4",
"chalk": "1.1.3",
"css-loader": "0.28.1",
"detect-port": "1.1.0",
"dotenv": "2.0.0",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^16.0.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-loader": "^1.9.0",
"eslint-plugin-flowtype": "2.33.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"extract-text-webpack-plugin": "2.1.0",
"file-loader": "0.11.1",
"fs-extra": "3.0.1",
"html-webpack-plugin": "2.28.0",
"http-proxy-middleware": "0.17.3",
"jest": "20.0.3",
"lint-staged": "^7.0.0",
"object-assign": "4.1.1",
"postcss-loader": "2.0.5",
"prettier-eslint": "^8.8.1",
"prettier-eslint-cli": "^4.7.1",
"promise": "7.1.1",
"react-dev-utils": "^3.0.0",
"style-loader": "0.13.1",
"stylelint": "^9.1.3",
"stylelint-config-standard": "^18.2.0",
"sw-precache-webpack-plugin": "0.9.1",
"url-loader": "0.5.7",
"webpack": "^3.7.1",
"webpack-dev-server": "^2.9.1",
"webpack-manifest-plugin": "^1.3.2",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"backend": "./bin/run_backend.sh",
"build-storybook": "build-storybook",
"build": "node scripts/build.js",
"format-js": "prettier-eslint --write \"**/*.js\"",
"format-css": "stylelint --fix \"**/*.css\"",
"fix": "eslint --fix \"src/**/*.js\"",
"lint": "eslint \"**/*.js\"",
"precommit": "lint-staged",
"start:server": "node server",
"start": "node scripts/start.js",
"storybook": "start-storybook -p 6006",
"test": "node scripts/test.js --env=jsdom",
"validate": "npm ls"
},
"lint-staged": {
"*.{js,json}": ["prettier-eslint --write", "git add"],
"*.css": ["stylelint --fix", "git add"],
"*.{jpg,jpeg,png,gif,svg}": "npm run image-size"
},
"jest": {
"moduleDirectories": ["node_modules", "src"],
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
"setupFiles": ["<rootDir>/config/polyfills.js"],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": ["[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"],
"moduleNameMapper": {
"^react-native$": "react-native-web"
}
},
"babel": {
"presets": ["react-app"]
},
"homepage": "https://operationcode.org/"
}