-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
110 lines (110 loc) · 3.37 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
{
"name": "rtop",
"version": "0.1.0",
"scripts": {
"postinstall": "mkdir -p node_modules/.lsp",
"bs:build": "bsb -make-world",
"bs:start": "bsb -make-world -w",
"bs:clean": "bsb -clean-world",
"test": "jest",
"build": "bsb -make-world && NODE_ENV=production webpack && cp -r public/* build",
"deploy": "now build && now alias",
"staging": "npm run build && now build && now alias staging.rtop.khoanguyen.me",
"start": "webpack-dev-server",
"ci:build": "rm -rf build && node ./set-bsconfig-production.js && bsb -clean-world && npm run build",
"ci:cypress": "start-server-and-test start http-get://localhost:3000 cy:run:record",
"ci:cypress:staging": "CYPRESS_GRAPHQL_ENDPOINT=https://rtop-server.herokuapp.com/v1alpha1/graphql cypress run --record --browser chrome -c baseUrl=\"https://staging.sketch.sh\",defaultCommandTimeout=20000",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:record": "cypress run --record --browser chrome"
},
"author": "",
"license": "MIT",
"dependencies": {
"@glennsl/bs-json": "^3.0.0",
"apollo-cache-inmemory": "^1.2.6",
"apollo-client": "^2.3.7",
"apollo-link": "^1.2.2",
"apollo-link-context": "^1.0.8",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"apollo-link-ws": "^1.0.8",
"bs-date-fns": "^0.1.6",
"bs-dynamic-import": "^0.3.0",
"bs-webapi": "^0.10.0",
"butter-toast": "^2.1.2",
"codemirror": "^5.39.2",
"comlink": "^3.0.3",
"fontfaceobserver": "^2.0.13",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"jwt-decode": "^2.2.0",
"lz-string": "^1.4.4",
"mousetrap": "^1.6.2",
"nanoid": "^1.1.0",
"re-classnames": "^2.1.0",
"react": "^16.4.1",
"react-apollo": "^2.1.9",
"react-content-loader": "^3.1.2",
"react-dom": "^16.4.1",
"react-helmet": "^5.2.0",
"react-icons": "^3.0.4",
"reason-apollo": "^0.12.0",
"reason-loadable": "thangngoc89/reason-loadable#delay",
"reason-react": "^0.5.3",
"subscriptions-transport-ws": "^0.9.14"
},
"devDependencies": {
"@glennsl/bs-jest": "^0.4.3",
"babel-jest": "^23.4.0",
"babel-preset-env": "^1.7.0",
"bs-platform": "^4.0.3",
"bundle-buddy": "^0.2.1",
"css-loader": "^1.0.0",
"cypress": "^3.1.0",
"cypress-image-snapshot": "^2.0.1",
"faker": "^4.1.0",
"file-loader": "^2.0.0",
"graphql_ppx": "^0.2.7",
"html-webpack-plugin": "^3.0.6",
"husky": "^1.0.0-rc.13",
"lint-staged": "^7.2.0",
"mini-css-extract-plugin": "^0.4.1",
"optimize-css-assets-webpack-plugin": "^5.0.0",
"postcss-loader": "^2.1.6",
"postcss-preset-env": "^5.3.0",
"react-hot-loader": "^3.1.3",
"start-server-and-test": "^1.7.0",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.0.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^2.0.10",
"webpack-dev-server": "^3.1.0",
"worker-loader": "^2.0.0",
"workerize-loader": "^1.0.3"
},
"jest": {
"testMatch": [
"**/*_test.bs.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!@glennsl|@thangngoc89|bs-platform)",
"/public/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
]
},
"browserslist": [
"last 2 version"
]
}