-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.21 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
{
"name": "@zextras/carbonio-ui-preview",
"version": "0.0.0-semantically-released",
"description": "Preview ui utility for Zextras Carbonio",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"type": "module",
"exports": {
"import": "./lib/index.js",
"require": "./lib/index.js"
},
"files": [
"lib",
"COPYING",
"THIRDPARTIES",
"README.md"
],
"scripts": {
"prebuild:lib": "rm -rf lib",
"build:lib": "tsc -p tsconfig.lib.json && npm run copy-styles",
"build:docs": "npx api-extractor run --verbose && npx api-documenter generate -i ./temp/ -o ./docs/api",
"build:docs:local": "npx api-extractor run --verbose --local && npx api-documenter generate -i ./temp/ -o ./docs/api",
"build:local": "npm run build:lib && npm run build:docs:local",
"build": "npm run build:lib && npm run build:docs",
"prepare": "is-ci || husky",
"prepack": "npm run build",
"type-check": "tsc",
"type-check:watch": "npm run type-check -- --watch",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src",
"packTo": "npm pack --pack-destination $PKG_PATH && cd $PKG_PATH && npm i zextras-carbonio-ui-preview-$npm_package_version.tgz",
"deploy": "npm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/* && tar -xf zextras-carbonio-ui-preview-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/ --strip-components 1",
"test": "jest",
"postbuild": "is-ci || ./scripts/check-build.sh",
"copy-styles": "cp src/preview/*.css lib/preview/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zextras/carbonio-ui-preview.git"
},
"keywords": [],
"author": "Zextras DEV Team <https://www.zextras.com/carbonio/>",
"license": "AGPL-3.0-only",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@faker-js/faker": "^9.1.0",
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-extractor": "^7.47.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.34",
"@types/react": "^18.2.77",
"@types/react-dom": "^18.2.25",
"@zextras/carbonio-ui-configs": "^1.0.1",
"babel-jest": "^29.7.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-tsdoc": "^0.4.0",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fail-on-console": "^3.3.0",
"jest-junit": "^16.0.0",
"semantic-release": "^24.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"core-js": "^3.37.1",
"react-pdf": "^9.1.0"
},
"peerDependencies": {
"@zextras/carbonio-design-system": "^8.0.0 || ^9.0.0-devel",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"browserslist": [
">1%",
"last 1 version",
"Firefox ESR",
"not dead"
]
}