-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
82 lines (82 loc) · 2.08 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
{
"name": "react-pptx",
"description": "Render JSX to a .pptx file",
"version": "0.0.0-development",
"repository": "github:wyozi/react-pptx",
"main": "dist/index.js",
"module": "dist/index.mjs",
"license": "MIT",
"keywords": [
"pptx",
"powerpoint",
"office",
"react"
],
"files": [
"dist",
"preview"
],
"scripts": {
"test": "jest",
"lint": "eslint 'src/**/*.ts' --quiet",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --check ./src",
"format:fix": "prettier --write ./src",
"generate-types": "tsc --d --declarationDir dist --emitDeclarationOnly",
"insert-preview-types": "echo 'export { default } from \"../dist/preview/Preview\"' > preview/index.d.ts",
"build": "rollup -c && pnpm run generate-types && pnpm run insert-preview-types"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-virtual": "^3.0.1",
"@types/color": "^3.0.3",
"@types/jest": "^29.5.3",
"@types/node": "^20.5.0",
"@types/react": "^18.2.20",
"@types/react-is": "^18.2.1",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.6.2",
"pptx2json": "^0.0.8",
"prettier": "^3.0.2",
"react": "^18.2.0",
"rollup": "^3.28.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
},
"dependencies": {
"color": "^4.2.3",
"cross-fetch": "^4.0.0",
"pptxgenjs": "^3.12.0",
"react-is": "^18.2.0",
"react-keyed-flatten-children": "^2.2.1"
},
"jest": {
"projects": [
"<rootDir>"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/dist/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
},
"prettier": {
"trailingComma": "es5"
}
}