99 lines
5.5 KiB
Plaintext
99 lines
5.5 KiB
Plaintext
{
|
|
"name": "neostandard",
|
|
"version": "0.12.2",
|
|
"description": "A modern successor to standard",
|
|
"homepage": "http://github.com/neostandard/neostandard",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/neostandard/neostandard.git"
|
|
},
|
|
"keywords": [],
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
},
|
|
"bin": {
|
|
"neostandard": "cli.mjs"
|
|
},
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"files": [
|
|
"/index.js",
|
|
"/index.d.ts",
|
|
"/index.d.ts.map",
|
|
"lib/**/*.js",
|
|
"lib/**/*.d.ts",
|
|
"lib/**/*.d.ts.map"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build:0": "run-s clean",
|
|
"build:1-declaration": "tsc -p declaration.tsconfig.json",
|
|
"build": "run-s build:*",
|
|
"check-peer-compatibility": "NEOSTANDARD_PATH=`pwd` && cd $(mktemp -d -p $NEOSTANDARD_PATH install-test-XXXXXXXXXX) && npm init -y && npm install --no-legacy-peer-deps --package-lock-only --strict-peer-deps --install-links eslint $NEOSTANDARD_PATH",
|
|
"check:installed-check": "installed-check --engine-check --version-check -i list-dependents-cli",
|
|
"check:knip": "knip",
|
|
"check:lint": "eslint --report-unused-disable-directives .",
|
|
"check:tsc": "tsc",
|
|
"check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'",
|
|
"check": "run-s clean && run-p check:*",
|
|
"clean:declarations-lib": "rm -rf $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts')",
|
|
"clean:declarations-top": "rm -rf $(find . -maxdepth 1 -type f -name '*.d.ts*')",
|
|
"clean": "run-p clean:*",
|
|
"dependents-filter-one": "list-dependents filter --max-count=250 --sort-download --max-age=550 --repository-prefix=https://github.com/ $LIST_DEPENDENTS_FILTER_ARGS",
|
|
"dependents-filter:neostandard": "npm run --silent dependents-filter-one -- -i dependents-data/source/neostandard.ndjson -o dependents-data/neostandard-filtered.ndjson --min-downloads=1000 --exclude $(jq -r 'keys | join(\" --exclude \")' dependents-data/known-failures/neostandard.json)",
|
|
"dependents-filter:semistandard": "npm run --silent dependents-filter-one -- -i dependents-data/source/semistandard.ndjson -o dependents-data/semistandard-filtered.ndjson --min-downloads=1000 --target-version='>=16.0.0' --exclude $(jq -r 'keys | join(\" --exclude \")' dependents-data/known-failures/semistandard.json)",
|
|
"dependents-filter:standard": "npm run --silent dependents-filter-one -- -i dependents-data/source/standard.ndjson -o dependents-data/standard-filtered.ndjson --min-downloads=75000 --target-version='>=17.0.0' --exclude $(jq -r 'keys | join(\" --exclude \")' dependents-data/known-failures/standard.json)",
|
|
"dependents-filter:ts-standard": "npm run --silent dependents-filter-one -- -i dependents-data/source/ts-standard.ndjson -o dependents-data/ts-standard-filtered.ndjson --min-downloads=1000 --exclude $(jq -r 'keys | join(\" --exclude \")' dependents-data/known-failures/ts-standard.json)",
|
|
"dependents-filter-simplify": "for PROJECT in $(jq -r 'join(\" \")' dependents-data/projects.json); do jq -s '[.[].repositoryUrl | sub(\"https://github.com/\";\"\";\"i\")] | unique | sort' \"dependents-data/$PROJECT-filtered.ndjson\" > \"dependents-data/$PROJECT.json\"; done",
|
|
"dependents-filter": "run-p dependents-filter:* && run-s dependents-filter-simplify",
|
|
"dependents-refresh-one": "cd dependents-data/source/ && list-dependents refresh --precision 3 --field engines -n",
|
|
"dependents-refresh:neostandard": "run-s --print-label \"dependents-refresh-one -- {@}\" -- neostandard",
|
|
"dependents-refresh:compatibility": "run-s --print-label \"dependents-refresh-one -- {%}\" -- $(jq -r 'join(\" \")' dependents-data/projects.json)",
|
|
"dependents-refresh": "run-s --silent dependents-refresh:*",
|
|
"dependents-update-one": "cd dependents-data/source/ && list-dependents list --precision 3 --field engines -n",
|
|
"dependents-update:neostandard": "run-s --print-label \"dependents-update-one -- {@}\" -- neostandard --include-historic",
|
|
"dependents-update:compatibility": "run-s --print-label \"dependents-update-one -- {%}\" -- $(jq -r 'join(\" \")' dependents-data/projects.json)",
|
|
"dependents-update": "run-s --silent dependents-update:*",
|
|
"prepare": "husky",
|
|
"prepublishOnly": "run-s build",
|
|
"sync-refresh": "LIST_DEPENDENTS_FILTER_ARGS='--no-additions' run-s dependents-refresh dependents-filter",
|
|
"sync-update-canary": "run-s dependents-update:neostandard dependents-filter:neostandard",
|
|
"sync-update": "run-s dependents-update:compatibility dependents-filter",
|
|
"test-ci": "run-s test:*",
|
|
"test:eslint": "eslint .",
|
|
"test:tseslint-extension": "eslint -c test/ts-extension-eslint.config.mjs test/test-types.d.ts",
|
|
"test": "run-s check test:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.19.113",
|
|
"@voxpelli/tsconfig": "^15.1.2",
|
|
"eslint": "^9.30.0",
|
|
"husky": "^9.1.7",
|
|
"installed-check": "^9.3.0",
|
|
"knip": "^5.61.3",
|
|
"list-dependents-cli": "^2.7.1",
|
|
"npm-run-all2": "^7.0.2",
|
|
"type-coverage": "^2.29.7",
|
|
"typescript": "~5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@humanwhocodes/gitignore-to-minimatch": "^1.0.2",
|
|
"@stylistic/eslint-plugin": "2.11.0",
|
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
"eslint-plugin-import-x": "^4.16.1",
|
|
"eslint-plugin-n": "^17.20.0",
|
|
"eslint-plugin-promise": "^7.2.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"find-up": "^5.0.0",
|
|
"globals": "^15.15.0",
|
|
"peowly": "^1.3.2",
|
|
"typescript-eslint": "^8.35.1"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": "^9.0.0"
|
|
}
|
|
}
|