forked from dimensional-de/napi-canon-cameras
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 3.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
{
"name": "@brick-a-brack/napi-canon-cameras",
"version": "0.1.5",
"private": false,
"description": "Node AddOn Api module for Canon cameras. Wrapper for the Canon EDSDK.",
"keywords": [
"camera",
"photo",
"napi",
"eos",
"canon",
"dslr"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gypfile": true,
"main": "camera-api.js",
"browser": "camera-api-stubs.js",
"types": "camera-api.d.ts",
"scripts": {
"install": "node-gyp-build",
"package": "npm run prebuild && node helpers/create-tgz.js",
"prebuild": "run-script-os",
"prebuild:win32": "npm run prebuild:ia32 && npm run prebuild:x64 && npm run build:stubs",
"prebuild:darwin": "npm run prebuild:x64 && npm run build:stubs",
"prebuild:x64": "prebuildify --napi --strip --arch x64 --verbose",
"prebuild:ia32": "prebuildify --napi --strip --arch ia32 --verbose",
"build:stubs": "npm run _update:stubs && npm run _build:stubs:types && npm run _build:es2015 && npm run _build:esm && npm run _build:umd && npm run _build:umd:min",
"build:docs": "jsdoc2md --partial helpers/examples.hbs --no-gfm --heading-depth 1 --files stubs/es2015/**/*.js >API.md",
"clean": "node-gyp clean && rimraf prebuilds/* && npm run _clean:stubs",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint .",
"_clean:stubs": "rimraf ./stubs/{camera-api,es2015,esm,umd} && rimraf ./stubs/*.{ts,json}",
"_update:stubs": "node ./helpers/update-stubs.js && eslint ./src/stubs --fix",
"_build:stubs:types": "tsc -p src/stubs/ --removeComments --declaration --emitDeclarationOnly --outDir ./stubs && node helpers/bootstrap-stubs.js",
"_build:es2015": "tsc -p src/stubs/ --module es2015 --target es2015 --outDir stubs/es2015",
"_build:esm": "tsc -p src/stubs/ --module es2015 --target es5 --lib es2015 --removeComments --outDir stubs/esm",
"_build:umd": "rollup stubs/esm/index.js -f umd -n napi-canon-cameras-stubs -m inline --context window -o stubs/umd/napi-canon-cameras-stubs.js",
"_build:umd:min": "cd stubs/umd && uglifyjs -c -m --source-map -o napi-canon-cameras-stubs.min.js -- napi-canon-cameras-stubs.js && node ../../helpers/gzip-file.js napi-canon-cameras-stubs.min.js > napi-canon-cameras-stubs.min.js.gz",
"_exp:build:cmake": "cmake-js -O cmake-build rebuild"
},
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/brick-a-brack/napi-canon-cameras.git"
},
"dependencies": {
"node-addon-api": "^8.1.0",
"node-gyp-build": "^4.8.2"
},
"devDependencies": {
"@babel/types": "^7.25.7",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jsdoc-to-markdown": "^9.0.2",
"prebuildify": "^6.0.1",
"rimraf": "^6.0.1",
"rollup": "^4.24.0",
"run-script-os": "^1.1.6",
"tar-fs": "^3.0.6",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"uglifyjs": "^2.4.11"
}
}