forked from cancerberoSgx/magica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 4.17 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
{
"name": "magica",
"version": "0.2.17",
"description": "ImageMagick for browser and Node.js, easy setup, high level API and Command Line Interface, including WASM binary for an easy setup.",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"bin": {
"magica": "bin/magica.js"
},
"scripts": {
"test": "npm run build && npx ava --verbose --serial --concurrency 1 --config ava.config.js && npm run test-browser",
"test-js": "npm run build && npx ava --verbose --serial --concurrency 1 --config ava.config-js.js",
"test-watch": "ava --verbose -w",
"test-debug": "node --inspect-brk node_modules/ava/cli.js --serial",
"test-browser": " npx ava --verbose --serial --concurrency 1 test-browser/*Test.ts",
"build-node-magick": "cat src/imageMagick/magickPrefix.js > src/imageMagick/compiled/nodeMagick.js && echo '' >> src/imageMagick/compiled/nodeMagick.js && cat src/imageMagick/compiled/magick.js >> src/imageMagick/compiled/nodeMagick.js",
"coverage": "npx nyc --nycrc-path nyc.config.js npm test",
"prepare": "npm run build",
"performance": "npx ts-node -T test/performance/perf1.ts",
"browser-sample": "rm -rf dist && mkdir -p dist && npm run build && cp dist/src/imageMagick/compiled/magick.wasm dist && parcel serve test-browser/testBrowser.html",
"clean": "rm -rf tmp* dist test-browser-outdir working_tmp",
"build": "npm run build-node-magick && npm run clean && npx tsc && npm run copy && npm run build-bundle-umd",
"build-bundle-umd": "npx browserify -o dist/src/imageMagick/compiled/magica.umd.js -r . -s magica && npx terser -o dist/src/imageMagick/compiled/magica.umd.js dist/src/imageMagick/compiled/magica.umd.js",
"copy": "rm -rf dist/src/imageMagick/compiled && cp -r src/imageMagick/compiled dist/src/imageMagick/compiled",
"format": "npx ts-refactor format \"src/**/*.ts*\" \"test/**/*.ts*\" \"test-browser/**/*.ts*\" ./formatCodeSettings.json --tsConfigPath ./tsconfig.json --dontAsk",
"organizeImports": "npx ts-refactor organizeImports \"src/**/*.ts*\" \"test/**/*.ts*\" \"test-browser/**/*.ts*\" ./formatCodeSettings.json --tsConfigPath ./tsconfig.json --dontAsk ",
"lint": "npm run organizeImports && npm run format",
"docs": "npm run docs-readme-toc && npm run docs-api",
"docs-api": "rm -rf docs && typedoc --ignoreCompilerErrors --theme markdown --out docs --readme none --excludeNotExported src/index.ts ",
"docs-readme-toc": "npx markdown-toc README.md -i",
"all": "npm run clean && npm run lint && npm run build && npm run test && npm run test-js && npm run docs",
"all-publish": "npm run all && git commit -a -m 'version patch' && npm version patch && npm publish",
"all-projects": "sh buildAllProjects.sh"
},
"license": "MIT",
"dependencies": {
"buffer": "^5.4.3",
"cross-fetch": "^3.0.4",
"ejs": "^2.7.1",
"glob": "^7.1.4",
"minimist": "^1.2.0",
"misc-utils-of-mine-generic": "^0.2.34",
"p-queue": "^6.1.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/ejs": "^2.6.3",
"@types/js-base64": "^2.3.1",
"@types/node": "^12.7.5",
"@types/puppeteer": "^1.19.1",
"@types/shelljs": "^0.8.5",
"ava": "^2.4.0",
"babel-polyfill": "^6.26.0",
"browserify": "^16.5.0",
"coveralls": "^3.0.6",
"file-type": "^12.3.0",
"jimp": "^0.8.4",
"markdown-toc": "^1.2.0",
"nyc": "^14.1.1",
"parcel": "^1.12.3",
"puppeteer": "^1.20.0",
"shelljs": "^0.8.3",
"terser": "^4.3.1",
"ts-morph": "^4.0.1",
"ts-node": "^8.4.1",
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.2.6",
"typescript": "^3.6.3"
},
"keywords": [
"ImageMagick",
"emscripten",
"browser",
"node.js",
"API",
"CLI",
"Command Line",
"image processing",
"image format",
"image",
"format",
"library",
"typescript"
],
"author": {
"name": "Sebastian Gurin",
"email": "[email protected]",
"url": "http://sgurin.com"
},
"homepage": "https://www.npmjs.com/package/magica",
"repository": {
"type": "git",
"url": "https://github.com/cancerberoSgx/magica.git"
},
"bugs": {
"url": "https://github.com/cancerberoSgx/magica"
}
}