@alessiofrittoli/node-scripts
Version:
Utility library with common Node.js scripts
107 lines (106 loc) • 3.71 kB
JSON
{
"name": "@alessiofrittoli/node-scripts",
"version": "2.7.0",
"description": "Utility library with common Node.js scripts",
"author": {
"name": "Alessio Frittoli",
"email": "info@alessiofrittoli.it",
"url": "https://alessiofrittoli.it"
},
"license": "MIT",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/alessiofrittoli"
}
],
"keywords": [
"nodejs",
"node-scripts"
],
"homepage": "https://github.com/alessiofrittoli/node-scripts#readme",
"bugs": {
"url": "https://github.com/alessiofrittoli/node-scripts/issues",
"email": "info@alessiofrittoli.it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alessiofrittoli/node-scripts.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./types": {
"types": "./dist/types.d.ts"
},
"./publish": {
"types": "./dist/publish/index.d.ts",
"import": "./dist/publish/index.mjs",
"require": "./dist/publish/index.js"
},
"./postinstall": {
"types": "./dist/postinstall/index.d.ts",
"import": "./dist/postinstall/index.mjs",
"require": "./dist/postinstall/index.js"
}
},
"sideEffects": false,
"scripts": {
"//1a": "*********************************************************************",
"//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
"//1c": "*********************************************************************",
"dev": "NODE_ENV=development tsup --watch",
"build:prod": "NODE_ENV=production tsup",
"build": "pnpm lint && pnpm test:ci && pnpm build:prod",
"lint": "eslint",
"release": "node scripts/publish.js --verbose --npm",
"//2a": "*********************************************************************",
"//2b": "***************************** UNIT TESTS ****************************",
"//2c": "*********************************************************************",
"test": "jest --verbose",
"test:watch": "jest --watchAll --verbose",
"test:ci": "jest --ci --verbose",
"//3a": "*********************************************************************",
"//3b": "************************ UNIT TESTS COVERAGE ************************",
"//3c": "*********************************************************************",
"test:coverage": "pnpm test:watch --coverage",
"test:coverage:ci": "pnpm test:ci --coverage",
"test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent",
"test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"",
"//4a": "*********************************************************************",
"//4b": "************************ TARGETED UNIT TESTS ************************",
"//4c": "*********************************************************************",
"test:postinstall": "pnpm test:watch postinstall/*",
"test:publish": "pnpm test:watch publish/*",
"test:git": "pnpm test:watch git.test.ts",
"test:npm": "pnpm test:watch npm.test.ts",
"test:package": "pnpm test:watch package.test.ts",
"test:process": "pnpm test:watch process.test.ts"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@jest/globals": "^30.0.4",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.13",
"concurrently": "^9.2.0",
"dotenv": "^17.2.0",
"eslint": "^9.30.1",
"globals": "^16.3.0",
"http-server": "^14.1.1",
"jest": "^30.0.4",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.36.0"
}
}