mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-26 13:35:16 +03: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
@ -9,9 +9,8 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- env: DB=pg
|
- env: DB=pg
|
||||||
before_install:
|
before_install:
|
||||||
- git submodule update --init
|
- rvm use 1.9.3
|
||||||
- gem update --system
|
- gem install bundler
|
||||||
- gem install sass bourbon
|
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
|
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
|
||||||
- cd ~/casperjs
|
- cd ~/casperjs
|
||||||
@ -23,4 +22,3 @@ before_install:
|
|||||||
before_script:
|
before_script:
|
||||||
- phantomjs --version
|
- phantomjs --version
|
||||||
- casperjs --version
|
- casperjs --version
|
||||||
- grunt init
|
|
||||||
|
@ -192,8 +192,6 @@ developing Ghost.
|
|||||||
1. Check you have the pre-requisites listed above!
|
1. Check you have the pre-requisites listed above!
|
||||||
1. Clone the git repo
|
1. Clone the git repo
|
||||||
1. cd into the project folder
|
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 -g grunt-cli`
|
||||||
1. Run `npm install`.
|
1. Run `npm install`.
|
||||||
* If the install fails with errors to do with "node-gyp rebuild" or "SQLite3", follow the SQLite3 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",
|
"main": "./core/index",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index",
|
"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": {
|
"engines": {
|
||||||
"node": "~0.10.0"
|
"node": "~0.10.0"
|
||||||
@ -61,6 +62,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"blanket": "~1.1.5",
|
"blanket": "~1.1.5",
|
||||||
"grunt": "~0.4.1",
|
"grunt": "~0.4.1",
|
||||||
|
"grunt-cli": "~0.1.13",
|
||||||
"grunt-contrib-clean": "~0.5.0",
|
"grunt-contrib-clean": "~0.5.0",
|
||||||
"grunt-contrib-compress": "~0.5.2",
|
"grunt-contrib-compress": "~0.5.2",
|
||||||
"grunt-contrib-concat": "~0.3.0",
|
"grunt-contrib-concat": "~0.3.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user