This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.66 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
{
"name": "@dimensional/napi-canon-cameras",
"version": "0.1.0",
"description": "Node AddOn Api module for Canon cameras. Wrapper for the Canon EDSDK.",
"keywords": [
"camera",
"photo",
"napi",
"eos",
"canon",
"dslr"
],
"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": "npm run prebuild:ia32 && 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",
"_clean:stubs": "rimraf ./stubs/{camera-api,es2015,esm,umd} && rimraf ./stubs/*.{ts,json}",
"_update:stubs": "node ./helpers/update-stubs.js",
"_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 build"
},
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "[email protected]:dimensional-de/napi-canon-cameras.git"
},
"dependencies": {
"node-addon-api": "^3.2.0",
"node-gyp-build": "^4.2.3"
},
"devDependencies": {
"@babel/types": "^7.14.2",
"@types/jest": "^26.0.23",
"@types/node": "^15.6.0",
"directory-to-tgz": "^1.0.0",
"jest": "^26.6.3",
"jsdoc-to-markdown": "^7.0.1",
"prebuildify": "^4.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.48.0",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"uglifyjs": "^2.4.11"
}
}