{ "name": "node-module-example-of-thsi", "version": "1.0.2", "description": "Example of node module", "main": "./lib/esm/index.js", "exports": { ".": { "node": { "module": "./lib/esm/index.js", "require": "./lib/cjs/index.js", "import": "./lib/esm/index.js" }, "default": "./lib/esm/index.js" } }, "module": "./lib/esm/index.js", "files": [ "lib/" ], "scripts": { "build": "npm run clean && npm run compile", "clean": "rimraf lib", "compile": "npm run compile:esm && npm run compile:commonjs", "compile:esm": "tsc -p tsconfig.json", "compile:commonjs": "tsc -p tsconfig-cjs.json", "test": "jest", "commit": "npx git-cz", "prepublishOnly": "npm run build" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ "prettier --write" ] }, "repository": { "type": "git", "url": "git+https://github.com/EricThsi/Node-Module-Example.git" }, "keywords": [ "Example", "Node", "Module", "TypeScript", "Jest", "ESLint", "Prettier" ], "author": "EricThsi", "license": "MIT", "bugs": { "url": "https://github.com/EricThsi/Node-Module-Example/issues" }, "homepage": "https://github.com/EricThsi/Node-Module-Example#readme", "dependencies": { "typescript": "^4.0.3" }, "devDependencies": { "@types/jest": "^26.0.14", "@types/node": "^14.11.8", "@typescript-eslint/eslint-plugin": "^4.4.0", "@typescript-eslint/parser": "^4.4.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-jest": "^24.1.0", "husky": "^4.3.0", "jest": "^26.5.2", "lint-staged": "^10.4.0", "prettier": "^2.1.2", "rimraf": "^3.0.2", "ts-jest": "^26.4.1", "ts-node": "^9.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }