mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Updated package.json to conform to npm standards
fixes #1053 - fleshed out script object - added test and install package.json - updated contributing guide - updates travis.yml to leverage new npm start
This commit is contained in:
parent
d28d65bf5e
commit
fd583df8e5
3 changed files with 91 additions and 93 deletions
|
@ -9,9 +9,8 @@ matrix:
|
|||
allow_failures:
|
||||
- env: DB=pg
|
||||
before_install:
|
||||
- git submodule update --init
|
||||
- gem update --system
|
||||
- gem install sass bourbon
|
||||
- rvm use 1.9.3
|
||||
- gem install bundler
|
||||
- npm install -g grunt-cli
|
||||
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
|
||||
- cd ~/casperjs
|
||||
|
@ -23,4 +22,3 @@ before_install:
|
|||
before_script:
|
||||
- phantomjs --version
|
||||
- casperjs --version
|
||||
- grunt init
|
||||
|
|
|
@ -192,8 +192,6 @@ developing Ghost.
|
|||
1. Check you have the pre-requisites listed above!
|
||||
1. Clone the git repo
|
||||
1. cd into the project folder
|
||||
1. Run `git submodule update --init`
|
||||
1. Run `bundle install`
|
||||
1. Run `npm install -g grunt-cli`
|
||||
1. Run `npm install`.
|
||||
* If the install fails with errors to do with "node-gyp rebuild" or "SQLite3", follow the SQLite3 install
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
"main": "./core/index",
|
||||
"scripts": {
|
||||
"start": "node index",
|
||||
"test": "grunt validate --verbose"
|
||||
"test": "./node_modules/.bin/grunt validate --verbose",
|
||||
"install": "git submodule update --init && bundle install && ./node_modules/.bin/grunt init"
|
||||
},
|
||||
"engines": {
|
||||
"node": "~0.10.0"
|
||||
|
@ -61,6 +62,7 @@
|
|||
"devDependencies": {
|
||||
"blanket": "~1.1.5",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-cli": "~0.1.13",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-contrib-compress": "~0.5.2",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue