Skip to content

Commit

Permalink
improving package.json and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-skam committed Nov 1, 2023
1 parent 9b36be9 commit a272541
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 36 deletions.
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@new-objects/cli",
"version": "0.0.6",
"description": "Create new objects from templates.",
"private": true,
"version": "0.0.7",
"main": "./src/index.js",
"bin": {
"nobj": "src/index.js"
Expand All @@ -13,7 +15,8 @@
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier src --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix"
"format": "npm run prettier:fix && npm run lint:fix",
"test": "vitest"
},
"keywords": [],
"author": "mi-skam",
Expand All @@ -27,21 +30,13 @@
"simple-git": "^3.20.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"@new-objects/eslint-config": "^0.0.2",
"@new-objects/prettier-config": "^0.0.2",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"nodemon": "^3.0.1",
"prettier": "^3.0.3"
"prettier": "^3.0.3",
"vitest": "^0.34.6"
},
"description": "Create new objects from templates.",
"repository": {
"type": "git",
"url": "git+https://github.com/new-objects/cli.git"
Expand Down
18 changes: 0 additions & 18 deletions src/downloadRepo.test.js

This file was deleted.

10 changes: 4 additions & 6 deletions src/templates.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
export const templateRepos = {
// eslint-disable-next-line
vanilla: 'new-objects/template-vite-vanilla',
tailwindcss: 'new-objects/template-vite-vanilla-tailwind',
pixi5: 'new-objects/template-vite-pixi5',
phaser3: 'new-objects/template-vite-phaser3',
babylonjs: 'new-objects/template-vite-babylonjs',
frontend: 'new-objects/template-frontend',
pixi5: 'new-objects/template-frontend-pixi5',
phaser3: 'new-objects/template-frontend-phaser3',
babylonjs: 'new-objects/template-frontend-babylonjs',
bun: 'new-objects/template-bun',
nodejs: 'new-objects/template-nodejs',
};

0 comments on commit a272541

Please sign in to comment.