mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
PR-URL: https://github.com/nodejs/node/pull/66212 Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "@npmcli/name-from-folder",
|
|
"version": "5.0.0",
|
|
"files": [
|
|
"bin/",
|
|
"lib/"
|
|
],
|
|
"main": "lib/index.js",
|
|
"description": "Get the package name from a folder path",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/npm/name-from-folder.git"
|
|
},
|
|
"author": "GitHub Inc.",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"test": "node --test './test/**/*.js'",
|
|
"snap": "node --test --test-update-snapshots './test/**/*.js'",
|
|
"lint": "npm run eslint",
|
|
"postlint": "template-oss-check",
|
|
"template-oss-apply": "template-oss-apply --force",
|
|
"lintfix": "npm run eslint -- --fix",
|
|
"posttest": "npm run lint",
|
|
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
|
|
"test:node20": "node --test test",
|
|
"test:cover": "node --test --experimental-test-coverage --test-timeout=3000 --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 './test/**/*.js'"
|
|
},
|
|
"devDependencies": {
|
|
"@npmcli/eslint-config": "^6.0.0",
|
|
"@npmcli/template-oss": "5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
},
|
|
"templateOSS": {
|
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
"version": "5.0.0",
|
|
"publish": true,
|
|
"testRunner": "node:test",
|
|
"latestCiVersion": 24
|
|
}
|
|
}
|