This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
108 lines (108 loc) · 3.3 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
{
"name": "with-reasonml",
"private": true,
"version": "1.0.0",
"engines": {
"node": "12.x"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"clean": "bsb -clean-world",
"dev": "run-p -c dev:*",
"dev:reason": "bsb -make-world -w",
"dev:next": "next dev",
"build": "yarn clean && yarn build:reason && yarn build:next",
"build:reason": "bsb -make-world",
"build:next": "next build",
"start": "DISABLE_SERVERLESS=true NODE_ENV=production next start",
"now-build": "yarn build",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md,html,graphql}\"",
"lint": "run-p -c lint:*",
"lint:css": "stylelint '**/*.css'",
"lint:ts": "eslint '**/*.js{,x}' '**/*.ts{,x}'",
"typecheck": "tsc --noEmit",
"test": "NODE_ENV=test jest",
"test-watch": "NODE_ENV=test jest -o --watch",
"ci": "yarn typecheck && yarn lint && yarn test",
"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",
"e2e": "DISABLE_SERVERLESS=true yarn build && yarn --cwd packages/e2e jest",
"deploy": "scripts/deploy-ci.sh",
"deploy:production": "now --token $NOW_TOKEN --target production",
"deploy:staging": "now --token $NOW_TOKEN --target staging"
},
"license": "ISC",
"dependencies": {
"next": "9.2.1",
"re-classnames": "4.1.0",
"react": "16.12.0",
"react-dom": "16.12.0",
"reason-react": "0.7.0"
},
"devDependencies": {
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@percy-io/percy-storybook": "2.1.0",
"@storybook/addon-actions": "5.3.13",
"@storybook/addon-centered": "5.3.13",
"@storybook/addon-links": "5.3.13",
"@storybook/addon-viewport": "5.3.13",
"@storybook/addons": "5.3.13",
"@storybook/react": "5.3.13",
"@testing-library/jest-dom": "5.1.1",
"@testing-library/react": "9.4.0",
"@types/jest": "25.1.2",
"@types/react": "16.9.19",
"@typescript-eslint/eslint-plugin": "2.19.2",
"@typescript-eslint/parser": "2.19.2",
"@zeit/next-css": "1.0.1",
"autoprefixer": "9.7.4",
"awesome-typescript-loader": "5.2.1",
"babel-loader": "8.0.6",
"bs-platform": "7.0.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-jest": "23.7.0",
"eslint-plugin-react": "7.18.3",
"gentype": "3.12.0",
"husky": "4.2.3",
"identity-obj-proxy": "3.0.0",
"jest": "25.1.0",
"jest-canvas-mock": "2.2.0",
"lint-staged": "10.0.7",
"next-offline": "5.0.0",
"next-transpile-modules": "2.3.1",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"stylelint": "13.1.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-standard": "20.0.0",
"typescript": "3.7.5",
"webpack": "4.41.6"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css,md,html}": [
"yarn format",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint",
"post-commit": "git update-index -g"
}
}
}