UNPKG

magica

Version:

ImageMagick for browser and Node.js, easy setup, high level API and Command Line Interface, including WASM binary for an easy setup.

99 lines (98 loc) 4.24 kB
{ "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 --serial --concurrency 1 --config ava.config.js && npm run test-browser", "test-js": "npm run build && npx ava --serial --concurrency 1 --config ava.config-js.js", "test-watch": "ava -w", "test-debug": "node --inspect-brk node_modules/ava/cli.js --serial", "test-browser": " npx ava --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": { "cross-fetch": "^3.0.4", "ejs": "^2.7.1", "glob": "^7.1.4", "js-base64": "^2.5.1", "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", "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", "ts-refactor": "0.0.9", "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": "sebastigurin@gmail.com", "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" } }