-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
92 lines (92 loc) · 2.54 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
{
"name": "nextra-theme-docs",
"version": "2.0.0-beta.20",
"description": "A Nextra theme for documentation sites.",
"repository": "https://github.com/shuding/nextra",
"author": "Shu Ding <g@shud.in>",
"license": "MIT",
"files": [
"dist",
"style.css"
],
"sideEffects": [
"./src/polyfill.ts"
],
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
]
}
},
"types": "./dist/index.d.ts",
"exports": {
"./style.css": "./style.css",
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"dev": "concurrently \"pnpm dev:layout\" \"pnpm dev:tailwind\"",
"build": "tsup",
"build:all": "pnpm build && pnpm run build:tailwind",
"build:tailwind": "cross-env NODE_ENV=production pnpm postcss css/styles.css -o style.css --verbose",
"types": "tsup --dts-only",
"types:check": "tsc --noEmit",
"dev:layout": "tsup --watch",
"dev:tailwind": "cross-env TAILWIND_MODE=watch pnpm postcss css/styles.css -o style.css --watch",
"prepublishOnly": "pnpm build:all",
"test": "vitest --run",
"clean": "rimraf ./dist ./style.css",
"format": "prettier --ignore-path ../../.gitignore --write --list-different ."
},
"dependencies": {
"@headlessui/react": "^1.6.5",
"@mdx-js/react": "^2.1.2",
"@reach/skip-nav": "^0.17.0",
"clsx": "^1.2.1",
"flexsearch": "^0.7.21",
"focus-visible": "^5.2.0",
"github-slugger": "^1.4.0",
"intersection-observer": "^0.12.2",
"match-sorter": "^6.3.1",
"next-themes": "^0.2.0-beta.2",
"parse-git-url": "^1.0.1",
"scroll-into-view-if-needed": "^2.2.29",
"title": "^3.5.1"
},
"peerDependencies": {
"next": ">=9.5.3",
"react": ">=16.13.1",
"react-dom": ">=16.13.1"
},
"devDependencies": {
"@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.4",
"@types/flexsearch": "^0.7.3",
"@types/github-slugger": "^1.3.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"autoprefixer": "^10.4.8",
"concurrently": "^7.3.0",
"cross-env": "^7.0.3",
"cssnano": "^5.1.12",
"cssnano-preset-advanced": "^5.3.8",
"next": "^12.2.4",
"nextra": "workspace:*",
"postcss": "^8.4.14",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.1.8",
"vitest": "^0.21.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
}
}