-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
125 lines (125 loc) · 4.17 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
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
122
123
124
125
{
"name": "rotion",
"version": "1.7.0",
"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/types.d.ts",
"umd": "./dist/ui/umd/index.js",
"import": "./dist/ui/esm/index.js",
"require": "./dist/ui/cjs/index.js"
},
"./style.css": "./dist/ui/esm/index.css",
"./style-without-dark.css": "./dist/ui/style-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 tsconfig.exporter.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:rollup",
"ui:rollup": "rollup --config rollup.config.ts --configPlugin typescript",
"ui:typecheck": "tsc -p src/ui/tsconfig.typecheck.json",
"ui:lint": "eslint ./src/ui/components --ext .js,.jsx,.ts,.tsx -c ./src/ui/.eslintrc.json",
"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",
"react-dom": "^17.0.2 || ^18.0.0-0"
},
"dependencies": {
"@notionhq/client": "^2.2.14",
"cdate": "^0.0.7",
"cdate-relative": "^0.1.0",
"file-type": "^19.0.0",
"katex": "^0.16.9",
"mermaid": "^10.6.1",
"pdfjs-dist": "^4.2.67",
"prismjs": "^1.25.0",
"replace-ext": "^2.0.0",
"sharp": "^0.33.3"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.5.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@storybook/addon-essentials": "^8.1.9",
"@storybook/addon-interactions": "^8.1.9",
"@storybook/addon-links": "^8.1.9",
"@storybook/addon-mdx-gfm": "^8.1.9",
"@storybook/addon-onboarding": "^8.1.9",
"@storybook/blocks": "^8.1.9",
"@storybook/react": "^8.1.9",
"@storybook/react-vite": "^8.1.9",
"@storybook/test": "^8.1.9",
"@storybook/theming": "^8.1.9",
"@tsconfig/node-lts-strictest-esm": "^18.12.1",
"@types/imagemin": "^8.0.5",
"@types/imagemin-webp": "^7.0.3",
"@types/katex": "^0.16.7",
"@types/node": "^20.10.5",
"@types/prismjs": "^1.26.3",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/replace-ext": "^2.0.2",
"@types/rollup-plugin-peer-deps-external": "^2.2.4",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.9.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^8.1.9",
"storybook-dark-mode": "^4.0.1",
"testdouble": "^3.20.1",
"tslib": "^2.6.2",
"tsx": "^4.13.2",
"typescript": "^5.3.3",
"uvu": "^0.5.6"
},
"extends": "@tsconfig/node-lts-strictest-esm"
}