-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
188 lines (188 loc) · 7.55 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "paratii-portal",
"version": "0.0.1",
"description": "Paratii Portal",
"repository": "https://github.com/Paratii-Video/paratii-portal.git",
"author": "Benjamin Baum <benjaminjbaum@gmail.com>, Jelle Gerbrandy <jelle@gerbrandy.com>, and many others",
"license": "GPL-3.0",
"scripts": {
"analyze": "yarn run clean && yarn run prep && yarn run compile:sass && NODE_ENV=production ANALYZE=1 node --max_old_space_size=4096 node_modules/.bin/webpack --progress --colors",
"build": "yarn run build:production",
"build:dev": "yarn run clean && yarn run prep && yarn run compile:sass && NODE_ENV=development node_modules/.bin/webpack --watch --colors --progress",
"build:production": "yarn run clean && yarn run prep && yarn run compile:sass && NODE_ENV=production node --max_old_space_size=4096 node_modules/.bin/webpack --progress --colors",
"build:test": "yarn run clean && yarn run prep && NODE_ENV=test node --max_old_space_size=4096 node_modules/.bin/webpack --progress --colors",
"build:staging": "yarn run clean && yarn run prep && yarn run compile:sass && NODE_ENV=staging node --max_old_space_size=4096 node_modules/.bin/webpack --progress --colors",
"clean": "rm -rf build/",
"chimp-test": "yarn run test-db & chimp chimp.config.js",
"chimp-circleci-test": "chimp .circleci/chimp.circleci.config.js",
"chimp-test:watch": "yarn run chimp-test -- --watch",
"compile:sass": "node_modules/.bin/node-sass --output-style compressed src/styles/embed/index.scss > build/embed/index.css",
"dev": "concurrently \"yarn run build:dev\" \"yarn run server:dev\" \"yarn run parity\"",
"diagnose": "node src/scripts/diagnose.js",
"flow": "flow",
"lint": "yarn run lint:scripts && yarn run lint:styles",
"lint:fix": "yarn run lint:scripts --fix",
"lint:scripts": "eslint src test --cache",
"lint:styles": "stylelint 'src/**/*.js'",
"parity": "parity --config parity-config.toml",
"precommit": "lint-staged",
"prep": "mkdir build/ && mkdir build/embed && cp -R src/server/views/ build/ && mkdir build/assets/ && mkdir build/translations/ && cp -r src/assets/* build/assets/",
"prettify": "prettier-standard src/**/*.js test/**/*.js",
"quality": "yarn run lint:scripts && yarn run lint:styles && yarn run flow",
"server": "NODE_ENV=production node src/server/index.js",
"server:dev": "NODE_ENV=development yarn run setup-dev-env && NODE_ENV=development nodemon src/server/index.js --watch node_modules --watch src/server -e js,hbs,json",
"server:staging": "NODE_ENV=staging node src/server/index.js",
"server:test": "NODE_ENV=test yarn run setup-dev-env && NODE_ENV=test nodemon src/server/index.js --watch node_modules --watch src/server",
"setup-dev-env": "node src/scripts/setupDevEnv.js",
"test-db": "node ./test/functional-tests/data/createFixture.js & (cd node_modules/paratii-db && yarn run dev)",
"unit-test": "NODE_ENV=test karma start karma.conf.js",
"unit-test:dev": "yarn run unit-test -- --single-run false",
"unit-test-circleci": "NODE_ENV=test karma start .circleci/karma.circleci.conf.js"
},
"babel": {
"env": {
"development": {
"plugins": [
"babel-plugin-styled-components"
]
},
"production": {
"plugins": [
"transform-flow-strip-types",
"transform-object-rest-spread"
]
}
},
"presets": [
"es2015",
"react"
],
"plugins": [
"transform-flow-strip-types",
"transform-object-rest-spread",
"transform-class-properties",
"syntax-dynamic-import",
"react-hot-loader/babel"
]
},
"lint-staged": {
"*.js": [
"prettier-standard",
"eslint --cache",
"git add"
]
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-plugin-object-rest-spread": "^0.0.0",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-styled-components": "^1.5.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-plugin-webpack-alias": "^2.1.2",
"babel-polyfill": "^6.26.0",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"chimp": "^0.50.2",
"concurrently": "^3.5.1",
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.7",
"cssnano": "^3.10.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.16.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "7.7.0",
"eslint-plugin-standard": "^3.0.1",
"express": "^4.16.2",
"file-loader": "^1.1.6",
"flow-bin": "^0.61.0",
"husky": "^0.14.3",
"karma": "^2.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.9",
"lint-staged": "^6.0.0",
"lodash.range": "^3.2.0",
"mini-css-extract-plugin": "^0.4.0",
"mocha": "^4.0.1",
"node-mongodb-fixtures": "^2.0.0",
"node-sass": "^4.9.0",
"nodemon": "^1.14.11",
"postcss-cssnext": "^3.0.2",
"postcss-loader": "^2.0.9",
"prettier-standard": "^8.0.0",
"react-hot-loader": "^3.1.3",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.1",
"stylelint": "^8.4.0",
"stylelint-config-prettier": "^2.0.0",
"stylelint-config-standard": "^18.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.2.1",
"svg-url-loader": "^2.3.2",
"uglifyjs-webpack-plugin": "^1.1.6",
"webpack": "3",
"webpack-bundle-analyzer": "^2.11.1",
"webpack-dev-middleware": "^2.0.2",
"webpack-hot-middleware": "^2.21.0"
},
"dependencies": {
"bip39": "^2.5.0",
"clappr": "^0.2.87",
"compression": "^1.7.2",
"cors": "^2.8.4",
"ethereumjs-util": "^5.2.0",
"express-handlebars": "^3.0.0",
"express-locale": "^1.0.5",
"hh-mm-ss": "^1.2.0",
"hlsjs-ipfs-loader": "github:ya7ya/hlsjs-ipfs-loader#bd890b9e78f2c273fcb1dc4e1d43ad0afc69558c",
"immutable": "^3.8.2",
"ipfs": "github:ya7ya/js-ipfs#paratii/v0.27.6",
"ipfs-bitswap": "^0.19.0",
"js-cookie": "^2.2.0",
"lodash.debounce": "^4.0.8",
"memoizee": "^0.4.12",
"merge-deep": "^3.0.1",
"node-polyglot": "^2.2.2",
"nodemailer": "^4.6.4",
"paratii-db": "github:Paratii-Video/paratii-db",
"paratii-js": "github:Paratii-Video/paratii-js#fd62b790765ac8593c4d594decf4b938c591db8b",
"paratii-mediaplayer": "3.1.2",
"player.js": "^0.1.0",
"promise-polyfill": "^7.1.2",
"query-string": "^6.0.0",
"react": "16.3",
"react-blockies": "^1.2.2",
"react-document-title": "^2.0.3",
"react-dom": "^16.2.0",
"react-notification-system": "^0.2.17",
"react-notification-system-redux": "^1.2.0",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"react-transition-group": "^2.2.1",
"redux": "^3.7.2",
"redux-actions": "^2.2.1",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"short-number": "^1.0.6",
"streamspeed": "^1.1.0",
"styled-components": "^2.3.3",
"stylelint-config-prettier": "^2.0.0",
"web3": "^1.0.0-beta.29"
}
}