Skip to content

Commit

Permalink
📝 docs(README.md): update title of the project to "Money" for brevity…
Browse files Browse the repository at this point in the history
… and clarity

📦 chore(package.json): update file paths for main and module fields to point to the correct location in the lib folder
🔧 chore(package.json): add a prebuild script to run tests before building the library
The project title in the README.md file has been updated to "Money" to make it more concise and clear. The file paths for the main and module fields in the package.json file have been corrected to point to the appropriate location in the lib folder. Additionally, a prebuild script has been added to run tests before building the library, ensuring that any issues are caught before the build process.
  • Loading branch information
jofftiquez committed Aug 17, 2023
1 parent a3e01a6 commit 0128053
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 💸 Money Component 💰
# 💸 Money 💰

## Installation

Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"version": "0.1.0",
"description": "A Vue 3 composition API for formatting money",
"author": "Joff Tiquez",
"main": "dist/use-money.common.js",
"module": "dist/use-money.umd.min.js",
"main": "lib/use-money.common.js",
"module": "lib/use-money.umd.min.js",
"scripts": {
"serve": "vue-cli-service serve",
"test": "vue-cli-service test:unit",
"prebuild": "npm run test",
"build": "npm run build:lib",
"build:lib": "vue-cli-service build --target lib --name use-money src/index.js",
"lint": "vue-cli-service lint --fix"
Expand All @@ -17,7 +18,7 @@
"vue": "^3.2.13"
},
"files": [
"dist/*.{js,css}"
"lib/*.{js,css}"
],
"devDependencies": {
"@babel/core": "^7.12.16",
Expand Down Expand Up @@ -57,4 +58,4 @@
"not dead",
"not ie 11"
]
}
}

0 comments on commit 0128053

Please sign in to comment.