mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 19:32:54 +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
|
||||||
|
176
package.json
176
package.json
@ -1,87 +1,89 @@
|
|||||||
{
|
{
|
||||||
"name" : "ghost",
|
"name" : "ghost",
|
||||||
"version" : "0.4.1",
|
"version" : "0.4.1",
|
||||||
"description" : "Just a blogging platform.",
|
"description" : "Just a blogging platform.",
|
||||||
"author" : "Ghost Foundation",
|
"author" : "Ghost Foundation",
|
||||||
"homepage" : "http://ghost.org",
|
"homepage" : "http://ghost.org",
|
||||||
"keywords" : [
|
"keywords" : [
|
||||||
"ghost",
|
"ghost",
|
||||||
"blog",
|
"blog",
|
||||||
"cms"
|
"cms"
|
||||||
],
|
],
|
||||||
"repository" : {
|
"repository" : {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/TryGhost/Ghost.git"
|
"url": "git://github.com/TryGhost/Ghost.git"
|
||||||
},
|
},
|
||||||
"bugs" : "https://github.com/TryGhost/Ghost/issues",
|
"bugs" : "https://github.com/TryGhost/Ghost/issues",
|
||||||
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
|
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
|
||||||
"private" : true,
|
"private" : true,
|
||||||
"licenses" : [
|
"licenses" : [
|
||||||
{
|
{
|
||||||
"type": "MIT",
|
"type": "MIT",
|
||||||
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
|
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"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": {
|
},
|
||||||
"node": "~0.10.0"
|
"engines": {
|
||||||
},
|
"node": "~0.10.0"
|
||||||
"engineStrict": true,
|
},
|
||||||
"dependencies": {
|
"engineStrict": true,
|
||||||
"bcryptjs": "0.7.10",
|
"dependencies": {
|
||||||
"bookshelf": "0.6.1",
|
"bcryptjs": "0.7.10",
|
||||||
"busboy": "0.0.12",
|
"bookshelf": "0.6.1",
|
||||||
"colors": "0.6.2",
|
"busboy": "0.0.12",
|
||||||
"connect-slashes": "1.2.0",
|
"colors": "0.6.2",
|
||||||
"downsize": "0.0.5",
|
"connect-slashes": "1.2.0",
|
||||||
"express": "3.4.6",
|
"downsize": "0.0.5",
|
||||||
"express-hbs": "0.7.6",
|
"express": "3.4.6",
|
||||||
"fs-extra": "0.8.1",
|
"express-hbs": "0.7.6",
|
||||||
"knex": "0.5.0",
|
"fs-extra": "0.8.1",
|
||||||
"moment": "2.4.0",
|
"knex": "0.5.0",
|
||||||
"node-polyglot": "0.3.0",
|
"moment": "2.4.0",
|
||||||
"node-uuid": "1.4.1",
|
"node-polyglot": "0.3.0",
|
||||||
"nodemailer": "0.5.13",
|
"node-uuid": "1.4.1",
|
||||||
"rss": "0.2.1",
|
"nodemailer": "0.5.13",
|
||||||
"semver": "2.2.1",
|
"rss": "0.2.1",
|
||||||
"showdown": "0.3.1",
|
"semver": "2.2.1",
|
||||||
"sqlite3": "2.2.0",
|
"showdown": "0.3.1",
|
||||||
"lodash": "2.4.1",
|
"sqlite3": "2.2.0",
|
||||||
"unidecode": "0.1.3",
|
"lodash": "2.4.1",
|
||||||
"validator": "1.4.0",
|
"unidecode": "0.1.3",
|
||||||
"when": "2.7.0"
|
"validator": "1.4.0",
|
||||||
},
|
"when": "2.7.0"
|
||||||
"optionalDependencies": {
|
},
|
||||||
"mysql": "2.0.0-alpha9"
|
"optionalDependencies": {
|
||||||
},
|
"mysql": "2.0.0-alpha9"
|
||||||
"devDependencies": {
|
},
|
||||||
"blanket": "~1.1.5",
|
"devDependencies": {
|
||||||
"grunt": "~0.4.1",
|
"blanket": "~1.1.5",
|
||||||
"grunt-contrib-clean": "~0.5.0",
|
"grunt": "~0.4.1",
|
||||||
"grunt-contrib-compress": "~0.5.2",
|
"grunt-cli": "~0.1.13",
|
||||||
"grunt-contrib-concat": "~0.3.0",
|
"grunt-contrib-clean": "~0.5.0",
|
||||||
"grunt-contrib-copy": "~0.4.1",
|
"grunt-contrib-compress": "~0.5.2",
|
||||||
"grunt-contrib-handlebars": "~0.6.0",
|
"grunt-contrib-concat": "~0.3.0",
|
||||||
"grunt-contrib-sass": "~0.5.0",
|
"grunt-contrib-copy": "~0.4.1",
|
||||||
"grunt-contrib-uglify": "~0.2.5",
|
"grunt-contrib-handlebars": "~0.6.0",
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-sass": "~0.5.0",
|
||||||
"grunt-express-server": "~0.4.11",
|
"grunt-contrib-uglify": "~0.2.5",
|
||||||
"grunt-groc": "~0.4.0",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-jslint": "~1.1.1",
|
"grunt-express-server": "~0.4.11",
|
||||||
"grunt-mocha-cli": "~1.4.0",
|
"grunt-groc": "~0.4.0",
|
||||||
"grunt-shell": "~0.6.1",
|
"grunt-jslint": "~1.1.1",
|
||||||
"grunt-update-submodules": "~0.2.1",
|
"grunt-mocha-cli": "~1.4.0",
|
||||||
"matchdep": "~0.3.0",
|
"grunt-shell": "~0.6.1",
|
||||||
"mocha": "~1.15.1",
|
"grunt-update-submodules": "~0.2.1",
|
||||||
"rewire": "~2.0.0",
|
"matchdep": "~0.3.0",
|
||||||
"request": "~2.29.0",
|
"mocha": "~1.15.1",
|
||||||
"require-dir": "~0.1.0",
|
"rewire": "~2.0.0",
|
||||||
"should": "~2.1.1",
|
"request": "~2.29.0",
|
||||||
"sinon": "~1.7.3",
|
"require-dir": "~0.1.0",
|
||||||
"supertest": "~0.8.2"
|
"should": "~2.1.1",
|
||||||
}
|
"sinon": "~1.7.3",
|
||||||
}
|
"supertest": "~0.8.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user