forked from solana-foundation/developer-content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.37 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
{
"name": "solana-developer-content",
"private": true,
"description": "Solana developer content",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/solana-foundation/developer-content"
},
"scripts": {
"runner": "npx ts-node -r tsconfig-paths/register",
"contentlayer:build": "npx contentlayer2 build --clearCache",
"code-import": "npx esrun coder.ts",
"dev": "pnpm code-import && pnpm contentlayer:build && concurrently -p \"[{name}]\" -n \"code import,next dev\" -c \"bgBlue.bold,bgGreen.bold\" \"pnpm code-import --watch\" \"next dev -p 3001\"",
"build": "pnpm code-import && pnpm prettier:i18n && pnpm contentlayer:build && next build",
"start": "next start -p 3001",
"test": "pnpm code-import && pnpm prettier && pnpm contentlayer:build",
"lint": "next lint",
"prettier:i18n": "prettier -cw \"i18n/**/*.{js,jsx,ts,tsx,md,css,md,mdx}\" --ignore-path \"[]\"",
"prettier": "prettier -c \"./**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
"prettier:fix": "prettier -cw \"**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
"crowdin:download": "crowdin download && npm run prettier:i18n",
"crowdin:upload": "crowdin upload sources",
"browser-sync": "browser-sync start --proxy \"localhost:3000\" --files \"**/*.md\"",
"prepare": "husky",
"dev:sync": "pnpm dev & (sleep 5 && pnpm browser-sync)"
},
"dependencies": {
"@crowdin/cli": "^3.18.0",
"@types/node": "20.11.17",
"@types/react": "18.2.15",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.14",
"eslint": "8.45.0",
"eslint-config-next": "14.1.0",
"next": "14.1.0",
"next-contentlayer2": "^0.4.6",
"postcss": "8.4.26",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.4.1",
"typescript": "5.3.3"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"chokidar": "^3.6.0",
"concurrently": "^8.2.2",
"contentlayer2": "^0.4.6",
"husky": "^9.1.4",
"ignore": "^5.3.1",
"lint-staged": "^15.2.7",
"mdast": "^3.0.0",
"prettier": "^3.2.4",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"strip-indent": "^4.0.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.2"
},
"lint-staged": {
"*.{js,jsx,json,ts,tsx,md,css,md,mdx,yml,yaml}": "pnpm prettier:fix"
}
}