-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 4.29 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 4.29 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "rotion",
"version": "3.5.3",
"license": "MIT",
"repository": "linyows/rotion",
"description": "This is react components that uses the notion API to display the notion's database and page.",
"exports": {
".": {
"types": "./dist/exporter/index.d.ts",
"import": "./dist/exporter/index.js"
},
"./ui": {
"types": "./dist/ui/index.d.ts",
"import": "./dist/ui/esm/index.js"
},
"./style.css": "./dist/ui/index.css",
"./style-without-dark.css": "./dist/ui/index-without-dark.css",
"./package.json": "./package.json",
"./README.md": "./README.md",
"./LICENSE": "./LICENSE"
},
"main": "./dist/exporter/index.js",
"types": "./dist/exporter/index.d.ts",
"type": "module",
"files": [
"LICENSE",
"README.md",
"dist/*"
],
"author": {
"name": "Tomohisa Oda",
"url": "https://tomohisaoda.com"
},
"keywords": [
"react",
"notion",
"static site generator",
"components"
],
"scripts": {
"build": "npm run exporter:build && npm run ui:build",
"test": "npm run exporter:test",
"exporter:build": "npm run exporter:clean && tsc -p src/exporter/tsconfig.json",
"exporter:clean": "rm -rf dist/exporter/*",
"exporter:test": "tsx node_modules/uvu/bin.js ./src/exporter",
"ui:build": "npm run ui:lint && npm run ui:typecheck && npm run ui:clean && npm run ui:css:generate && npm run ui:tsc && npm run ui:fix-output && npm run ui:remove-css-imports && npm run ui:css:build && npm run ui:css:build:without-dark && npm run ui:use-client",
"ui:clean": "rm -rf dist/ui/*",
"ui:css:generate": "node src/ui/scripts/generate-css-entry.js",
"ui:css:build": "postcss src/ui/index.css -o dist/ui/index.css --config src/ui/postcss.config.js",
"ui:css:build:without-dark": "node src/ui/scripts/build-without-dark.cjs",
"ui:tsc": "tsc -p src/ui/tsconfig.json",
"ui:fix-output": "node src/ui/scripts/fix-ui-build-output.js",
"ui:remove-css-imports": "node src/ui/scripts/remove-css-imports.js",
"ui:use-client": "node src/ui/scripts/add-use-client.js",
"ui:typecheck": "tsc -p src/ui/tsconfig.typecheck.json",
"ui:lint": "biome lint --max-diagnostics=500 --diagnostic-level=warn ./src/ui/components",
"ui:lint:fix": "biome lint --write ./src/ui/components",
"ui:format": "biome format --write ./src/ui/components",
"ui:check": "biome check ./src/ui/components",
"ui:check:fix": "biome check --write ./src/ui/components",
"ui:fixtures": "jq '.' website/.cache/notion.databases.query-* | sed 's/?.*\",/\",/g' > src/ui/fixtures/fetch_database_response.json",
"story": "storybook dev -p 6006 --ci",
"build-story": "storybook build",
"prepublishOnly": "npm install && npm run test && npm run build"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.0-0 || ^19.0.0-0",
"react-dom": "^17.0.2 || ^18.0.0-0 || ^19.0.0-0"
},
"dependencies": {
"@notionhq/client": "^5.16.0",
"cdate": "^0.0.7",
"cdate-relative": "^0.1.0",
"heic-convert": "^2.1.0",
"katex": "^0.16.28",
"mermaid": "^11.12.3",
"pdfjs-dist": "^5.4.624",
"prismjs": "^1.30.0",
"replace-ext": "^2.0.0",
"sharp": "^0.34.5"
},
"devDependencies": {
"@biomejs/biome": "^2.4.10",
"@chromatic-com/storybook": "^5.0.1",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-links": "^10.2.10",
"@storybook/addon-onboarding": "^10.2.10",
"@storybook/react-vite": "^10.2.10",
"@tsconfig/node-lts-strictest-esm": "^18.12.1",
"@types/heic-convert": "^2.1.0",
"@types/imagemin": "^9.0.1",
"@types/imagemin-webp": "^7.0.3",
"@types/katex": "^0.16.8",
"@types/node": "^25.3.0",
"@types/prismjs": "^1.26.6",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/replace-ext": "^2.0.2",
"cssnano": "^7.1.2",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"storybook": "^10.2.10",
"testdouble": "^3.20.2",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"uvu": "^0.5.6"
},
"extends": "@tsconfig/node-lts-strictest-esm",
"overrides": {
"storybook": "$storybook",
"uuid": "^14.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}