mirror of
https://github.com/Brooooooklyn/Image.git
synced 2025-12-08 18:36:03 +00:00
74 lines
1.5 KiB
JSON
74 lines
1.5 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": "^2.6.2",
|
|
"@taplo/cli": "^0.3.2",
|
|
"@types/node": "^17.0.23",
|
|
"@types/sharp": "^0.30.1",
|
|
"ava": "^4.1.0",
|
|
"blurhash": "^1.1.5",
|
|
"chalk": "^5.0.1",
|
|
"lerna": "^4.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.6.2",
|
|
"rxjs": "^7.5.5",
|
|
"sharp": "^0.30.4",
|
|
"typescript": "^4.6.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"
|
|
},
|
|
"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@3.2.0",
|
|
"repository": "git@github.com:Brooooooklyn/Image.git"
|
|
}
|