/
package.json
87 lines (87 loc) · 2.53 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
{
"name": "nextra-theme-docs",
"version": "2.0.0-beta.40",
"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 build:tailwind && pnpm minify:css",
"build:tailwind": "NODE_ENV=production pnpm postcss css/styles.css -o style.css --verbose",
"minify:css": "lightningcss --minify --nesting --bundle --targets '>= 0.25%' style.css -o style.css",
"types": "tsup --dts-only",
"types:check": "tsc --noEmit",
"dev:layout": "tsup --watch",
"dev:tailwind": "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.6",
"@mdx-js/react": "^2.1.2",
"@popperjs/core": "^2.11.6",
"@reach/skip-nav": "^0.17.0",
"clsx": "^1.2.1",
"flexsearch": "^0.7.21",
"focus-visible": "^5.2.0",
"git-url-parse": "^13.1.0",
"github-slugger": "^1.4.0",
"intersection-observer": "^0.12.2",
"match-sorter": "^6.3.1",
"next-seo": "^5.5.0",
"next-themes": "^0.2.0-beta.2",
"scroll-into-view-if-needed": "^2.2.29"
},
"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/git-url-parse": "^9.0.1",
"@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",
"lightningcss-cli": "^1.16.0",
"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"
}
}