This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathpackage.json
139 lines (139 loc) · 3.73 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "pcl.js",
"version": "1.16.0",
"description": "Point Cloud Library (PCL) for browser, powered by WebAssembly.|在浏览器运行的点云库 (PCL),由 WebAssembly 提供支持。",
"types": "dist/pcl.d.ts",
"main": "dist/pcl.cjs.js",
"module": "dist/pcl.esm.js",
"exports": {
".": {
"browser": {
"import": "./dist/pcl.esm.js",
"require": "./dist/pcl.cjs.js"
},
"node": {
"import": "./dist/node/pcl.esm.js",
"require": "./dist/node/pcl.cjs.js"
}
},
"./pcl-core.wasm": {
"browser": {
"default": "./dist/pcl-core.wasm"
},
"node": {
"default": "./dist/node/pcl-core.node.wasm"
}
},
"./PointCloudViewer": "./dist/visualization/PointCloudViewer.esm.js"
},
"typesVersions": {
"*": {
"PointCloudViewer": [
"./dist/visualization/PointCloudViewer.d.ts"
]
}
},
"scripts": {
"setup": "yarn install && cd website && yarn install",
"dev:js": "rollup -c -w --environment ENV:development",
"dev:wasm": "npm run clean:wasm && bash scripts/build.sh",
"dev": "npm run dev:wasm && npm run dev:js",
"build:js": "rollup -c",
"build:wasm": "npm run clean:wasm && scripts/build.sh Release",
"build:pcl": "bash scripts/build-pcl.sh",
"build": "npm run build:wasm && npm run build:js",
"prebuild": "npm run clean",
"postbuild": "rimraf dist/.types",
"clean": "rimraf dist/*",
"clean:wasm": "rimraf src/bind/build/*",
"test": "jest",
"lint": "eslint .",
"prepare": "husky install",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/luoxuhai/pcl.js.git"
},
"keywords": [
"PCL",
"Point Cloud",
"Point Cloud Library",
"WebAssembly",
"JavaScript",
"TypeScript",
"Point Cloud Viewer"
],
"files": [
"dist",
"src",
"!src/bind"
],
"author": "luoxuhai <[email protected]> (https://github.com/luoxuhai)",
"license": "MIT",
"bugs": {
"url": "https://github.com/luoxuhai/pcl.js/issues"
},
"homepage": "https://github.com/luoxuhai/pcl.js#readme",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"three": ">=0.123.0 <1.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@release-it/conventional-changelog": "^5.1.0",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-replace": "^4.0.0",
"@types/jest": "^28.1.6",
"@types/three": "^0.144.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.1",
"jest": "^28.1.2",
"jest-environment-jsdom": "^29.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"release-it": "^15.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-serve": "^2.0.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^28.0.7",
"tsc-alias": "^1.7.0",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.json": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
}
}