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 ## Usage
If you only need to extract strings from one project, you can install the package locally: 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`: Add the following `extract` script your project's `package.json`:
``` ```
@@ -21,7 +21,7 @@ Modify the scripts arguments as required.
## Global install ## Global install
You can also install the package globally: 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: Now you can execute the script from everywhere:

View File

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