-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.04 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": "@natsuneko-laboratory/next-theme",
"version": "0.1.4",
"description": "Integrate custom theme feature into your Next.js project.",
"type": "module",
"main": "dist/index.cjs.cjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.cjs",
"types": "./dist/index.d.ts"
},
"./actions/theme": {
"import": "./dist/actions/theme.es.js",
"require": "./dist/actions/theme.cjs.cjs",
"types": "./dist/actions/theme.d.ts"
},
"./components/ThemeProvider": {
"import": "./dist/components/ThemeProvider.es.js",
"require": "./dist/components/ThemeProvider.cjs.cjs",
"types": "./dist/components/ThemeProvider.d.ts"
},
"./hooks/useBrowserTheme": {
"import": "./dist/hooks/useBrowserTheme.es.js",
"require": "./dist/hooks/useBrowserTheme.cjs.cjs",
"types": "./dist/hooks/useBrowserTheme.d.ts"
}
},
"scripts": {
"prepublish": "npm run build",
"build": "tsc && npm run build:vite && npm run build:tsc",
"build:vite": "vite build",
"build:tsc": "rm -f tsconfig.types.tsbuildinfo && tsc --project ./tsconfig.types.json",
"build:esm": "npx tsx node_modules/@natsuneko-laboratory/kiana/bin/esm-exports.ts --pattern **/*.mjs --entrypoint dist/index.mjs",
"test": "vitest",
"prepare": "npm run build"
},
"keywords": [
"theme",
"next"
],
"author": "Natsune Mochizuki",
"repository": "https://github.com/natsuneko-laboratory/next-theme.git",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^1.8.1",
"@natsuneko-laboratory/kiana": "^1.1.0",
"@natsuneko-laboratory/vite-plugin-next-directives": "^0.1.0",
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",
"@vitejs/plugin-react": "^4.3.1",
"next": "15.0.0-rc.0",
"react": "^18.3.1",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vitest": "^1.6.0"
},
"peerDependencies": {
"next": "15.0.0-rc.0",
"react": "^18.3.1"
},
"publishConfig": {
"access": "public"
}
}