babel-plugin-logger-namespace
Version:
Babel plugin that generates the namespace for creating a logger based on the path of the module
86 lines (85 loc) • 2.23 kB
JSON
{
"name": "babel-plugin-logger-namespace",
"version": "0.4.1",
"description": "Babel plugin that generates the namespace for creating a logger based on the path of the module",
"repository": {
"type": "git",
"url": "https://github.com/normanzb/babel-plugin-logger-namespace"
},
"license": "MIT",
"author": "Norman Xu <im@norm.im> (https://norm.im)",
"keywords": [
"babel-plugin",
"babel",
"plugin",
"__filename",
"import-meta",
"debug",
"logger"
],
"publishConfig": {
"access": "public"
},
"files": [
"lib"
],
"type": "commonjs",
"main": "lib/index.js",
"module": "lib/index.esm.mjs",
"types": "lib/index.d.ts",
"scripts": {
"prepare": "simple-git-hooks",
"clean": "rimraf lib",
"build": "rollup -c rollup.config.js",
"lint": "eslint --ext ts --max-warnings=0 .",
"test": "jest",
"prepack": "npm run lint && npm run clean && npm run build",
"prepublishOnly": "npm run test",
"release": "standard-version"
},
"dependencies": {
"@babel/template": "^7.18.10",
"tslib": "^2.2.0"
},
"peerDependencies": {
"@babel/core": "^7.10.0"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.13.16",
"@babel/types": "^7.13.17",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@rollup/plugin-node-resolve": "^11.2.1",
"@types/babel__core": "^7.1.14",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "4",
"eslint": "7",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "2",
"eslint-plugin-node": "11",
"eslint-plugin-promise": "4",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"rimraf": "^3.0.2",
"rollup": "^2.45.2",
"rollup-plugin-typescript2": "^0.36.0",
"simple-git-hooks": "^2.4.1",
"standard-version": "^9.2.0",
"strip-indent": "^3.0.0",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.ts": "eslint"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint -e"
}
}