Skip to content

Commit

Permalink
[#39] feat: create the two initial pacakges and configure pnpm worksp…
Browse files Browse the repository at this point in the history
…aces
  • Loading branch information
Angelmmiguel committed Feb 16, 2022
1 parent 5dabc5a commit 6b513ba
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
35 changes: 35 additions & 0 deletions packages/svgi/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "svgi",
"version": "1.1.1",
"description": "An SVG inspector tool",
"main": "index.js",
"scripts": {
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:watch": "vitest watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Angelmmiguel/svgi.git"
},
"keywords": [
"svg",
"svg inspector",
"svg paths",
"paths"
],
"author": "Angel M Miguel <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Angelmmiguel/svgi/issues"
},
"homepage": "https://github.com/Angelmmiguel/svgi#readme",
"dependencies": {
"xml2js": "^0.4.23"
},
"devDependencies": {
"c8": "^7.11.0",
"vite": "^2.8.1",
"vitest": "^0.3.4"
}
}
43 changes: 43 additions & 0 deletions packages/svgi@cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "svgi",
"version": "1.1.1",
"description": "An SVG inspector tool",
"main": "index.js",
"bin": {
"svgi": "./bin/index.js"
},
"scripts": {
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:watch": "vitest watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Angelmmiguel/svgi.git"
},
"keywords": [
"svg",
"svg inspector",
"svg paths",
"paths"
],
"author": "Angel M Miguel <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Angelmmiguel/svgi/issues"
},
"homepage": "https://github.com/Angelmmiguel/svgi#readme",
"dependencies": {
"ascii-tree": "^0.3.0",
"cli-table": "^0.3.11",
"colors": "^1.4.0",
"commander": "8.3.0",
"filesize": "^8.0.7",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"c8": "^7.11.0",
"vite": "^2.8.1",
"vitest": "^0.3.4"
}
}
3 changes: 3 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
packages:
# Use all packages in packages/*
- packages/**

0 comments on commit 6b513ba

Please sign in to comment.