-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
75 lines (75 loc) · 2.7 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
{
"private": true,
"name": "moox.io",
"version": "0.0.0",
"dependencies": {
"@ctrl/tinycolor": "^3.4.0",
"@glennsl/bs-json": "^3.0.0",
"@react-native-community/eslint-config": "^3.0.1",
"@rescript-react-native/safe-area-context": "^3.0.1",
"@rescript-react-native/svg": "^12.1.6",
"@rescript/react": "^0.10.0",
"@socialgouv/matomo-next": "^1.2.1",
"bs-webapi": "^0.19.0",
"date-fns": "^2.22.1",
"eslint": "^7.0.0",
"eslint-config-prettier": "^8.3.0",
"react": "^17.0.0",
"react-art": "^17.0.0",
"react-disqus-comments": "^1.2.0",
"react-dom": "^17.0.0",
"react-from-svg": "^5.0.3",
"react-multiversal": "https://github.com/MoOx/react-multiversal#5efbecf",
"react-native-safe-area-context": "^3.0.0",
"react-native-svg": "^12.1.0",
"react-native-web": "^0.13.0",
"react-test-renderer": "^17.0.0",
"rescript-next": "^10.0.0-alpha.1",
"rescript-react-native": "^0.64.3",
"rescript-tinycolor": "^4.0.0"
},
"devDependencies": {
"@moox/markdown-to-json": "^1.0.0",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-react-native-web": "^0.13.0",
"babel-preset-react-native": "^4.0.0",
"gray-matter": "^4.0.2",
"husky": "^7.0.4",
"lint-staged": "^10.0.0",
"mkdirp": "^0.5.1",
"next": "^12.0.0",
"next-transpile-modules": "^9.0.0",
"npm-run-all": "^4.0.2",
"prettier": "^2.2.1",
"rescript": "^9.1.0",
"trash-cli": "^3.1.0"
},
"scripts": {
"format": "npm run format:most && npm run format:res",
"format:most": "prettier --write \"**/*.{js,json,css,md}\" \"!package.json\"",
"format:res": "rescript format -all",
"clean": "npm run re:clean && npm run svg:clean",
"res:clean": "rescript clean",
"res:build": "rescript build",
"svg:clean": "trash assets/SVGs/components",
"svg:web": "react-from-svg assets/SVGs assets/SVGs/components --with-native-for-rescript",
"#postsvg:web": "cd assets/SVGs/components && find ./ -name \"*.js\" | xargs -I '{}' basename '{}' | sed 's/\\.js//' | xargs -I '{}' mv '{}.js' '{}.web.js'",
"#svg:native": "react-from-svg assets/SVGs assets/SVGs/components --with-native-for-rescript",
"svg": "npm run svg:clean && npm run svg:web",
"markdown": "markdown-to-json \"content/**/*.md\"",
"prepare": "husky install && npm run svg && npm run markdown && npm run res:clean && npm run res:build",
"dev": "next dev",
"build": "next build && next export",
"start": "next start",
"lint": "eslint .",
"test": "npm run lint"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{md,json,js,css}": "prettier --write",
"*.{res,resi}": "rescript format"
}
}