Skip to content

Commit 99eb39b

Browse files
committed
Merge pull request #10 from beeman/package-json
Some small updates to package.json
2 parents ba5f0b4 + 104f507 commit 99eb39b

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
node_modules
2+
npm-debug.log
23
dist
34
.tmp
45
.sass-cache
56
bower_components
7+
.idea

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ Find out more [Free Angular Themes at StartAngular.com](http://www.startangular.
1111
2. Make sure you have [bower](http://bower.io/), [grunt-cli](https://www.npmjs.com/package/grunt-cli) and [npm](https://www.npmjs.org/) installed globally
1212
3. On the command prompt run the following commands
1313
- cd `project-directory`
14-
- `npm install`
15-
- `bower install`
16-
- `grunt serve`
17-
- `grunt serve:dist` - to minify the files for deployment
14+
- `npm install` - bower install is ran from the postinstall
15+
- `npm start` - a shortcut for `grunt serve`
16+
- `npm run dist` - a shortcut for `grunt serve:dist` to minify the files for deployment
1817

1918
## Roadmap
2019

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"name": "sbadmin",
33
"version": "0.0.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/start-angular/sb-admin-angular"
7+
},
48
"dependencies": {},
59
"devDependencies": {
610
"grunt": "^0.4.1",
@@ -36,6 +40,9 @@
3640
"node": ">=0.10.0"
3741
},
3842
"scripts": {
39-
"test": "grunt test"
43+
"test": "grunt test",
44+
"start": "grunt serve",
45+
"dist": "grunt serve:dist",
46+
"postinstall": "bower install"
4047
}
4148
}

0 commit comments

Comments
 (0)