-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
141 lines (141 loc) · 3.98 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
{
"name": "kapina-frontend",
"version": "1.0.0",
"description": "Frontend project for https://radiorevolt.no",
"homepage": "https://radiorevolt.no",
"keywords": [
"radiorevolt",
"radio",
"revolt",
"kapina",
"studentmediene",
"samfundet",
"trondheim"
],
"repository": {
"type": "git",
"url": "https://github.com/Studentmediene/revolt-frontend"
},
"engines": {
"node": ">=8.1.0"
},
"author": "Vemund Santi <[email protected]>",
"contributors": [
"Boye Nygård",
"Edvin Johnsrud",
"Petter Dybdal",
"Thorben Dahl"
],
"scripts": {
"start": "cross-env NODE_ENV=development nodemon --watch server server/index.js",
"build": "next build",
"start:prod": "cross-env NODE_ENV=production node server/index.js",
"prebuild": "npm run test",
"precommit": "lint-staged && npm run test",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint src/",
"lint:css": "stylelint ./src/**/*css",
"test": "jest src/",
"test:update": "npm test -- --u"
},
"lint-staged": {
"*.js": [
"eslint --max-warnings 0 --ignore-pattern !.eslintrc.js"
],
"*.css": [
"stylelint"
]
},
"jest": {
"setupFiles": [
"<rootDir>/testUtils/jestSetup.js"
],
"automock": false,
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coveragePathIgnorePatterns": [
"[/\\\\]build[/\\\\].+\\.(js|jsx)$",
"<rootDir>/server/"
],
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/testUtils/transforms/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/testUtils/transforms/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy"
}
},
"dependencies": {
"@zeit/next-sass": "^1.0.1",
"chalk": "^2.3.2",
"classnames": "^2.2.5",
"express": "^4.17.1",
"file-loader": "^4.2.0",
"immutable": "^3.8.2",
"ip": "^1.1.5",
"isomorphic-unfetch": "^3.0.0",
"moment": "^2.22.0",
"next": "^9.1.1",
"next-redux-saga": "^4.0.2",
"next-redux-wrapper": "^4.0.1",
"prop-types": "^15.6.1",
"raven-js": "^3.24.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-ga": "^2.6.0",
"react-lazyload": "^2.6.2",
"react-redux": "^7.1.0",
"react-spinners": "^0.4.8",
"redux": "^4.0.4",
"redux-immutable": "^4.0.0",
"redux-saga": "^1.0.5",
"reselect": "^3.0.1",
"soundmanager2": "^2.97.20170602",
"webpack": "^4.41.2"
},
"devDependencies": {
"@babel/plugin-transform-destructuring": "^7.5.0",
"@babel/plugin-transform-react-constant-elements": "^7.5.0",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cross-env": "^6.0.3",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.3",
"eslint": "^4.19.1",
"eslint-import-resolver-babel-module": "^4.0.0",
"eslint-import-resolver-node": "^0.3.2",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"http-proxy-middleware": "^0.20.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"lint-staged": "^7.2.2",
"ngrok": "^3.1.1",
"node-sass": "^4.12.0",
"nodemon": "^1.19.4",
"pre-commit": "^1.2.2",
"prettier": "^1.11.1",
"redux-devtools-extension": "^2.13.8",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0"
}
}