diff --git a/cmd/create-bjerk-typescript/index.js b/cmd/create-bjerk-typescript/index.js index b7f3bfa..af02a4e 100755 --- a/cmd/create-bjerk-typescript/index.js +++ b/cmd/create-bjerk-typescript/index.js @@ -2,9 +2,9 @@ /* eslint no-console: off */ /* eslint @typescript-eslint/no-var-requires: off */ /* eslint no-undef: off */ +import fsExt from 'fs-extra'; import path from 'path'; import * as url from 'url'; -import fsExt from 'fs-extra'; const ignoreContent = (...values) => diff --git a/package.json b/package.json index 8b9399e..5e07034 100644 --- a/package.json +++ b/package.json @@ -2,22 +2,10 @@ "name": "create-bjerk-typescript", "version": "4.0.2", "description": "Minimal typescript project template. Run yarn create bjerk-typescript ", - "keywords": [ - "nodejs", - "nodejs-boilerplate", - "typescript", - "typescript-boilerplate", - "starter", - "boilerplate", - "scaffold", - "template" - ], - "repository": "github:bjerkio/create-bjerk-typescript", "license": "Apache-2.0", "author": "Bjerk AS", + "repository": "github:bjerkio/create-bjerk-typescript", "type": "module", - "exports": "./dist/main.js", - "types": "./dist/main.d.ts", "bin": "./cmd/create-bjerk-typescript/index.js", "scripts": { "build": "tsc", @@ -27,24 +15,7 @@ "lint": "eslint . --ext .ts,.tsx", "test": "jest --coverage src/**/*" }, - "prettier": "@simenandre/prettier", - "eslintConfig": { - "extends": [ - "@bjerk/eslint-config", - "plugin:jest/recommended" - ], - "plugins": [ - "jest" - ], - "overrides": [ - { - "files": "jest.config.*", - "rules": { - "import/no-default-export": "off" - } - } - ] - }, + "types": "./dist/main.d.ts", "dependencies": { "fs-extra": "^11.1.0" }, @@ -72,10 +43,39 @@ "ts-node": "^10.9.1", "typescript": "^4.8.4" }, - "packageManager": "yarn@3.5.1", + "keywords": [ + "boilerplate", + "nodejs", + "nodejs-boilerplate", + "scaffold", + "starter", + "template", + "typescript", + "typescript-boilerplate" + ], "engines": { "node": ">=18" }, + "eslintConfig": { + "extends": [ + "@bjerk/eslint-config", + "plugin:jest/recommended" + ], + "plugins": [ + "jest" + ], + "overrides": [ + { + "files": "jest.config.*", + "rules": { + "import/no-default-export": "off" + } + } + ] + }, + "exports": "./dist/main.js", + "packageManager": "yarn@3.5.1", + "prettier": "@simenandre/prettier", "volta": { "node": "18.16.0", "yarn": "1.22.19"