This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.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": "hackerz",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"engines": {
"node": "12.x"
},
"config": {
"publicDir": "dist"
},
"scripts": {
"clean": "rimraf dist && bsb -clean-world",
"dev": "run-p -c dev:*",
"dev:reason": "bsb -make-world -w",
"dev:rollup": "cross-env NODE_ENV=development rollup -c -w",
"dev:server": "now-lambda",
"dev-graphql": "run-p -c dev-graphql:*",
"dev-graphql:reason": "bsb -make-world -w",
"dev-graphql:api": "yarn --cwd packages/api dev",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md,html,graphql}\"",
"build": "yarn clean && yarn build:reason && yarn create-bundles",
"build:reason": "bsb -make-world",
"create-bundles": "cross-env NODE_ENV=production rollup -c",
"start": "yarn build && now-lambda",
"test": "yarn build:reason && jest --config jest.json",
"test-watch": "run-p -c test-watch:*",
"test-watch:reason": "yarn dev:reason",
"test-watch:jest": "jest --config jest.json --watch",
"lint": "run-p -c lint:*",
"lint:css": "stylelint '**/*.css'",
"lint:ts": "eslint '**/*.js{,x}'",
"ci": "yarn lint && yarn test",
"deploy": "scripts/deploy-ci.sh",
"deploy:production": "now --token $NOW_TOKEN --target production",
"deploy:staging": "now --token $NOW_TOKEN --target staging",
"e2e": "yarn build && yarn --cwd packages/e2e jest",
"storybook": "run-p -c storybook:*",
"storybook:reason": "yarn dev:reason",
"storybook:start": "start-storybook -p 6006",
"build-storybook": "yarn build:reason && build-storybook",
"snapshot-ui": "build-storybook && percy-storybook --widths=320,1280",
"update-schema": "get-graphql-schema http://localhost:3000/api/graphql -j > graphql_schema.json"
},
"dependencies": {
"@glennsl/bs-json": "5.0.2",
"bs-fetch": "0.6.1",
"bs-let": "0.1.16",
"core-js": "3.6.5",
"graphql-hooks": "5.0.0",
"graphql-hooks-memcache": "2.0.0",
"isomorphic-fetch": "3.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"reason-future": "2.5.0",
"reason-graphql": "0.6.1",
"reason-react": "0.8.0"
},
"devDependencies": {
"@babel/core": "7.12.0",
"@babel/polyfill": "7.11.5",
"@babel/preset-env": "7.12.0",
"@babel/preset-react": "7.10.4",
"@baransu/graphql_ppx_re": "0.7.1",
"@percy-io/percy-storybook": "2.1.0",
"@storybook/addon-actions": "6.0.26",
"@storybook/addon-centered": "5.3.21",
"@storybook/addon-links": "6.0.26",
"@storybook/addons": "6.0.26",
"@storybook/react": "6.0.26",
"@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "11.1.0",
"autoprefixer": "9.8.6",
"babel-jest": "26.5.2",
"babel-loader": "8.1.0",
"bs-platform": "7.3.2",
"cross-env": "7.0.2",
"eslint": "7.11.0",
"eslint-config-prettier": "6.12.0",
"eslint-config-synacor": "3.0.5",
"eslint-plugin-jest": "24.1.0",
"gentype": "3.36.0",
"get-graphql-schema": "2.1.2",
"husky": "4.3.0",
"identity-obj-proxy": "3.0.0",
"jest": "26.5.3",
"jest-fetch-mock": "3.0.3",
"jest-haste-map": "26.5.2",
"jest-resolve": "26.5.2",
"lint-staged": "10.4.0",
"now": "16.7.3",
"now-lambda-runner": "4.0.0",
"npm-run-all": "4.1.5",
"postcss-modules": "3.2.2",
"prettier": "2.1.2",
"rimraf": "3.0.2",
"rollup": "2.30.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-copy-assets": "2.0.1",
"rollup-plugin-filesize": "9.0.2",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-livereload": "2.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-postcss": "3.1.8",
"rollup-plugin-progress": "1.1.2",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-workbox-build": "0.2.0",
"stylelint": "13.7.2",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-standard": "20.0.0"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true
},
"lint-staged": {
"*.{js,json,css,md,html}": [
"yarn format",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint",
"post-commit": "git update-index -g"
}
}
}