59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"name": "@pipeletteio/nop",
|
|
"version": "1.0.5",
|
|
"description": "A simple nop function helper",
|
|
"private": false,
|
|
"main": "./src/index.js",
|
|
"types": "./src/index.d.ts",
|
|
"author": "AshLePoney <AshLePoney@users.noreply.github.com>",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/pipeletteio/nop#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/pipeletteio/nop.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/pipeletteio/nop/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">= 12.0.0"
|
|
},
|
|
"scripts": {
|
|
"package": "npm run package:clear && npm run package:types && npm run package:build && npm run package:copyfiles",
|
|
"package:build": "swc src -d build/package/src",
|
|
"package:types": "tsc -p tsconfig.types.json --emitDeclarationOnly",
|
|
"package:copyfiles": "cp package.json README.md CHANGELOG.md LICENSE build/package",
|
|
"package:clear": "rm -rf build/package",
|
|
"package:publish": "cd build/package && npm publish --access public",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint -c eslint.config.js .",
|
|
"test": "jest --config jest.config.js",
|
|
"coverage": "jest --config jest.config.js --coverage",
|
|
"docs": "npm run docs:clear && npm run docs:build",
|
|
"docs:clear": "rm -rf build/docs",
|
|
"docs:build": "typedoc --out build/docs --theme default src/index.ts",
|
|
"_postinstall": "husky install config/husky",
|
|
"prepublishOnly": "pinst --disable",
|
|
"postpublish": "pinst --enable",
|
|
"precommit": "npm run type-check && npm run lint && npm run coverage"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.2.3",
|
|
"@microsoft/tsdoc": "^0.14.1",
|
|
"@swc/cli": "^0.1.57",
|
|
"@swc/core": "^1.2.171",
|
|
"@swc/jest": "^0.2.20",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.25",
|
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
"@typescript-eslint/parser": "^5.20.0",
|
|
"eslint": "8.14.0",
|
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
"husky": "^7.0.4",
|
|
"jest": "^27.5.1",
|
|
"pinst": "^3.0.0",
|
|
"typedoc": "^0.22.15",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|