Skip to content

Commit

Permalink
Update package
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Mar 25, 2024
1 parent 743242d commit 0dcb152
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@
"description": "Yeoman generator for my projects.",
"license": "MIT",
"author": "Ivan Nikolić <[email protected]> (http://ivannikolic.com)",
"main": "generators/app/index.js",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./generators/app/index.js"
},
"./package.json": "./package.json"
},
"main": "generators/app/index.js",
"module": "generators/app/index.js",
"directories": {
"test": "test"
},
Expand All @@ -15,10 +23,10 @@
"README.md"
],
"scripts": {
"prepare": "if [[ -x \"$(command -v husky)\" ]]; then husky; fi",
"lint": "eslint '{generators/app/index,test/index}.js'",
"release": "np --no-release-draft",
"prepare": "if [[ -x \"$(command -v husky)\" ]]; then husky; fi",
"prerelease": "npm run lint",
"release": "np --no-release-draft",
"test": "NODE_OPTIONS='--experimental-loader=@istanbuljs/esm-loader-hook --no-warnings' nyc mocha 'test/**/*.js' && nyc check-coverage",
"test:watch": "nodemon --exec npm test"
},
Expand All @@ -40,7 +48,7 @@
"eslint-plugin-prettier": "^4.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^9.1.3",
"mocha": "^10.3.0",
"nodemon": "^2.0.6",
"np": "^7.6.0",
"nyc": "^15.1.0",
Expand Down

0 comments on commit 0dcb152

Please sign in to comment.