Fix wrong npm name in readme

This commit is contained in:
Kim Biesbjerg 2016-12-04 23:22:00 +01:00
parent cd95c7d65b
commit 16ea45235e
2 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@ Extract strings from projects using ng2-translate to json or pot files.
## Usage
If you only need to extract strings from one project, you can install the package locally:
`npm install ng2-translate-extract --save-dev`
`npm install @biesbjerg/ng2-translate-extract --save-dev`
Add the following `extract` script your project's `package.json`:
```
@ -16,12 +16,12 @@ Add the following `extract` script your project's `package.json`:
```
You can now run `npm run extract` to extract strings from your project's `src` dir. The extracted strings are saved in `JSON`-format in your project's root.
Modify the scripts arguments as required.
Modify the scripts arguments as required.
## Global install
You can also install the package globally:
`npm install ng2-translate-extract -g`
`npm install @biesbjerg/ng2-translate-extract -g`
Now you can execute the script from everywhere:

View File

@ -1,6 +1,6 @@
{
"name": "@biesbjerg/ng2-translate-extract",
"version": "0.1.0",
"version": "0.1.1",
"description": "Extract strings from projects using ng2-translate",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -14,8 +14,7 @@
"scripts": {
"build": "npm run clean && tsc",
"watch": "npm run clean && tsc --watch",
"clean": "rm -rf ./dist",
"postinstall": "npm run build"
"clean": "rm -rf ./dist"
},
"repository": {
"type": "git",