forked from facebookincubator/infima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.14 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
{
"repository": "github:facebookincubator/infima",
"author": "Yangshun Tay",
"license": "MIT",
"workspaces": [
"packages/*",
"website"
],
"private": true,
"scripts": {
"prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx}\"",
"prettier:docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"",
"prettier:ci": "prettier --config .prettierrc --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
"lint:ci": "yarn workspace infima lint",
"start": "cd packages/core && npm start",
"build": "yarn workspace infima build",
"build:en": "yarn workspace infima build --locale en",
"website:start": "yarn workspace infima-website start",
"website:build": "yarn workspace infima-website build",
"website:deploy": "yarn workspace infima-website deploy",
"lock:update": "npx yarn-deduplicate",
"postinstall": "is-ci || husky install && yarn lock:update"
},
"devDependencies": {
"husky": "^5.0.9",
"is-ci": "^3.0.0",
"prettier": "^2.2.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write"
],
"*.{md,mdx}": [
"prettier --write"
]
}
}