mirror of
https://github.com/Brooooooklyn/Image.git
synced 2025-12-08 18:36:03 +00:00
* chore: upgrade to NAPI-RS 3.0 stable * upgrade debian * edition * napi cross * napi cross * Install nasm * cross aarch64 * image version * save * update lock * process.arch * lockfile * move artifacts * set node version * ubuntu * wasm artifacts name * cflags * upgrade NAPI
76 lines
1.6 KiB
JSON
76 lines
1.6 KiB
JSON
{
|
|
"name": "image",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "LongYinan",
|
|
"email": "github@lyn.one",
|
|
"url": "https://lyn.one"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"website"
|
|
],
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^3.0.4",
|
|
"@taplo/cli": "^0.7.0",
|
|
"@types/node": "^24.1.0",
|
|
"@types/sharp": "^0.32.0",
|
|
"ava": "^6.4.1",
|
|
"blurhash": "^2.0.5",
|
|
"chalk": "^5.4.1",
|
|
"electron": "^37.2.4",
|
|
"lerna": "^8.2.3",
|
|
"npm-run-all2": "^8.0.4",
|
|
"prettier": "^3.6.2",
|
|
"rxjs": "^7.8.2",
|
|
"sharp": "^0.34.3",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "lerna run artifacts",
|
|
"build:ts": "tsc -b tsconfig.project.json",
|
|
"format": "run-p format:prettier format:rs format:toml",
|
|
"format:prettier": "prettier . -w",
|
|
"format:rs": "cargo fmt",
|
|
"format:toml": "taplo format",
|
|
"test": "ava",
|
|
"test:electron": "yarn electron electron.js"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"semi": false,
|
|
"trailingComma": "all",
|
|
"singleQuote": true,
|
|
"arrowParens": "always"
|
|
},
|
|
"ava": {
|
|
"extensions": [
|
|
"mjs"
|
|
],
|
|
"timeout": "10m",
|
|
"workerThreads": false,
|
|
"environmentVariables": {
|
|
"NODE_ENV": "ava"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.@(js|ts|json|md|yml|yaml)": [
|
|
"prettier --write"
|
|
],
|
|
"*.toml": [
|
|
"taplo format"
|
|
],
|
|
"*.rs": [
|
|
"cargo fmt --"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && cargo fmt --all"
|
|
}
|
|
},
|
|
"packageManager": "yarn@4.9.2",
|
|
"repository": "git@github.com:Brooooooklyn/Image.git"
|
|
}
|