1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00
edp445/node_modules/@napi-rs/canvas/package.json
2022-12-03 05:44:44 +00:00

145 lines
No EOL
3.8 KiB
JSON

{
"name": "@napi-rs/canvas",
"version": "0.1.30",
"description": "Canvas for Node.js with skia backend",
"main": "index.js",
"repository": "https://github.com/Brooooooklyn/canvas.git",
"license": "MIT",
"keywords": [
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api",
"canvas",
"image",
"pdf",
"svg",
"skia"
],
"files": [
"index.d.ts",
"index.js",
"geometry.js",
"js-binding.js",
"load-image.js"
],
"napi": {
"name": "skia",
"triples": {
"defaults": true,
"additional": [
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"aarch64-apple-darwin",
"aarch64-linux-android"
]
}
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"bench": "node -r @swc-node/register benchmark/bench.ts",
"build": "napi build --platform --release --js js-binding.js",
"build:debug": "napi build --platform --js js-binding.js",
"format": "run-p format:source format:rs",
"format:rs": "cargo fmt",
"format:source": "prettier . -w",
"lint": "eslint . -c ./.eslintrc.yml",
"prepublishOnly": "pinst --disable && napi prepublish -t npm",
"postpublish": "pinst --enable",
"test": "ava",
"version": "napi version && conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"
},
"devDependencies": {
"@jimp/core": "^0.16.1",
"@jimp/custom": "^0.16.1",
"@jimp/jpeg": "^0.16.1",
"@jimp/png": "^0.16.1",
"@napi-rs/cli": "^2.11.4",
"@octokit/rest": "^19.0.4",
"@swc-node/register": "^1.5.1",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.13",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"ava": "^4.3.3",
"benny": "^3.7.1",
"canvas": "^2.9.3",
"canvaskit-wasm": "^0.37.0",
"colorette": "^2.0.19",
"conventional-changelog-cli": "^2.2.2",
"echarts": "^5.3.3",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-sonarjs": "^0.15.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"png.js": "^0.2.1",
"prettier": "^2.7.1",
"pretty-bytes": "^6.0.0",
"skia-canvas": "^1.0.0",
"table": "^6.8.0",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.@(js|ts|tsx|yml|yaml|md|json|html)": [
"prettier --write"
],
"*.@(js|ts|tsx)": [
"eslint -c .eslintrc.yml --fix"
]
},
"ava": {
"require": [
"@swc-node/register"
],
"extensions": [
"ts"
],
"files": [
"__test__/**/*.spec.ts",
"scripts/__test__/**/*.spec.ts"
],
"workerThreads": false,
"cache": false,
"timeout": "3m",
"environmentVariables": {
"SWC_NODE_PROJECT": "./tsconfig.json",
"NODE_ENV": "ava"
}
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"packageManager": "yarn@3.2.3",
"optionalDependencies": {
"@napi-rs/canvas-win32-x64-msvc": "0.1.30",
"@napi-rs/canvas-darwin-x64": "0.1.30",
"@napi-rs/canvas-linux-x64-gnu": "0.1.30",
"@napi-rs/canvas-linux-arm-gnueabihf": "0.1.30",
"@napi-rs/canvas-linux-x64-musl": "0.1.30",
"@napi-rs/canvas-linux-arm64-gnu": "0.1.30",
"@napi-rs/canvas-linux-arm64-musl": "0.1.30",
"@napi-rs/canvas-darwin-arm64": "0.1.30",
"@napi-rs/canvas-android-arm64": "0.1.30"
}
}