codekingpro/portable-devtools
115k
1{
2 "name": "validate-npm-package-name",
3 "version": "7.0.2",
4 "description": "Give me a string and I'll tell you if it's a valid npm package name",
5 "main": "lib/",
6 "directories": {
7 "test": "test"
8 },
9 "devDependencies": {
10 "@npmcli/eslint-config": "^6.0.0",
11 "@npmcli/template-oss": "4.28.1"
12 },
13 "scripts": {
14 "builtin-fixture": "node -e \"console.log(JSON.stringify(require('node:module').builtinModules))\" > ./lib/builtin-modules.json",
15 "cov:test": "TAP_FLAGS='--cov' npm run test:code",
16 "test:code": "tap ${TAP_FLAGS:-'--'} test/*.js",
17 "test:style": "standard",
18 "test": "node --test './test/**/*.js'",
19 "lint": "npm run eslint",
20 "postlint": "template-oss-check",
21 "template-oss-apply": "template-oss-apply --force",
22 "lintfix": "npm run eslint -- --fix",
23 "snap": "node --test --test-update-snapshots './test/**/*.js'",
24 "posttest": "npm run lint",
25 "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
26 "test:node20": "node --test test",
27 "test:cover": "node --test --experimental-test-coverage --test-timeout=3000 --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 './test/**/*.js'"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/npm/validate-npm-package-name.git"
32 },
33 "keywords": [
34 "npm",
35 "package",
36 "names",
37 "validation"
38 ],
39 "author": "GitHub Inc.",
40 "license": "ISC",
41 "bugs": {
42 "url": "https://github.com/npm/validate-npm-package-name/issues"
43 },
44 "homepage": "https://github.com/npm/validate-npm-package-name",
45 "files": [
46 "bin/",
47 "lib/"
48 ],
49 "engines": {
50 "node": "^20.17.0 || >=22.9.0"
51 },
52 "templateOSS": {
53 "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
54 "version": "4.28.1",
55 "publish": true,
56 "testRunner": "node:test",
57 "latestCiVersion": 24
58 }
59}
60 