126 lines
3.3 KiB
JSON
126 lines
3.3 KiB
JSON
{
|
|
"name": "@yao-pkg/pkg-fetch",
|
|
"version": "3.5.24",
|
|
"description": "Compiles and stores base binaries for pkg",
|
|
"main": "lib-es5/index.js",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/yao-pkg/pkg-fetch.git"
|
|
},
|
|
"bin": {
|
|
"pkg-fetch": "lib-es5/bin.js"
|
|
},
|
|
"files": [
|
|
"lib-es5/*.js",
|
|
"lib-es5/*.ts",
|
|
"lib-es5/*.json",
|
|
"patches/*"
|
|
],
|
|
"dependencies": {
|
|
"https-proxy-agent": "^5.0.0",
|
|
"node-fetch": "^2.6.6",
|
|
"picocolors": "^1.1.0",
|
|
"progress": "^2.0.3",
|
|
"semver": "^7.3.5",
|
|
"tar-fs": "^2.1.1",
|
|
"yargs": "^16.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@release-it/conventional-changelog": "^7.0.2",
|
|
"@types/node": "^16.18.113",
|
|
"@types/node-fetch": "^2.5.12",
|
|
"@types/progress": "^2.0.5",
|
|
"@types/semver": "^7.3.9",
|
|
"@types/tar-fs": "^2.0.1",
|
|
"@types/yargs": "^16.0.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"lint-staged": "^10.5.4",
|
|
"prettier": "^2.4.1",
|
|
"release-it": "^16.2.1",
|
|
"rimraf": "^6.0.1",
|
|
"simple-git-hooks": ">=2.7.0",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf lib-es5 && tsc --build lib",
|
|
"bin": "node lib-es5/bin.js",
|
|
"lint": "eslint lib",
|
|
"prepare": "npm run build",
|
|
"prepublishOnly": "npm run lint",
|
|
"start": "node lib-es5/bin.js",
|
|
"applyPatches": "node lib-es5/apply-patches.js",
|
|
"printHashes": "node lib-es5/print-hashes.js",
|
|
"updateExpected": "node lib-es5/generate-expected-shas.js",
|
|
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it",
|
|
"release:patch": "npm run release -- patch",
|
|
"release:minor": "npm run release -- minor"
|
|
},
|
|
"release-it": {
|
|
"github": {
|
|
"release": false
|
|
},
|
|
"hooks": {
|
|
"before:init": [
|
|
"yarn lint"
|
|
]
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"infile": "CHANGELOG.md",
|
|
"preset": {
|
|
"name": "conventionalcommits",
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "test",
|
|
"section": "Test added"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Code refactoring"
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"section": "Chores"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"section": "Documentation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,md}": "prettier --write"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
}
|