forked from facebook/react-native-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.23 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
{
"name": "react-native-website",
"description": "React Native website",
"version": "0.0.1",
"private": true,
"license": "CC-BY-4.0",
"homepage": "https://reactnative.dev/",
"repository": "github:facebook/react-native-website",
"bugs": {
"url": "https://github.com/facebook/react-native-website/issues"
},
"scripts": {
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
"clean": "docusaurus clear",
"test": "yarn build",
"version:cut": "docusaurus docs:version",
"format:source": "prettier --write {{core,src}/**/*.js,*.js}",
"format:markdown": "prettier --write ../docs/*.md && prettier --write {{versioned_docs,src}/**/*.md,blog/*.md}",
"format:style": "prettier --write src/**/*.{scss,css}",
"prettier": "yarn format:source && yarn format:markdown && yarn format:style",
"lint": "eslint ../docs/** blog/** core/** src/**/*.{js,md} ./*.js",
"lint:versioned": "eslint versioned_docs/**",
"language:lint": "cd ../ && alex && case-police 'docs/*.md' -p brands,general,products,softwares",
"language:lint:versioned": "cd ../ && alex . && case-police '**/*.md' -p brands,general,products,softwares",
"ci:lint": "yarn lint && yarn lint:versioned && yarn language:lint:versioned",
"pwa:generate": "npx pwa-asset-generator ./static/img/header_logo.svg ./static/img/pwa --padding '40px' --background 'rgb(32, 35, 42)' --icon-only --opaque true"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@docusaurus/core": "^2.0.1",
"@docusaurus/plugin-pwa": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.1",
"docusaurus-plugin-sass": "^0.2.2",
"esbuild-loader": "^2.19.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-github-btn": "^1.3.0",
"sass": "^1.53.0"
},
"devDependencies": {
"@docusaurus/types": "^2.0.1",
"alex": "^10.0.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"glob-promise": "^4.2.2",
"path": "^0.12.7"
}
}