Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
Put all back related file in a single folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Sep 2, 2016
1 parent 032b6e6 commit e745cab
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 22 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ test:
pre:
- npm run lint
post:
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls --verbose
- cd server && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls --verbose
33 changes: 12 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
"version": "0.0.1",
"description": "Faciliter l'accès au statut et à ses bénéfices",
"scripts": {
"start": "./bin/api.js",
"test": "./node_modules/.bin/istanbul cover --print details node_modules/mocha/bin/_mocha -- -R spec api/*/test/** --recursive",
"lint": "./node_modules/.bin/eslint api/ bin/"
"preinstall": "npm-run-all --sequential install:back install:front",
"install:back": "cd server && npm install",
"install:front": "echo 'front install'",
"start": "cd server && npm run start",
"test": "npm-run-all --sequential test:back test:front",
"test:back": "cd server && npm test",
"test:front": "echo 'front test'",
"lint": "npm-run-all --sequential lint:back lint:front",
"lint:back": "cd server && npm run lint",
"lint:front": "echo 'front lint'"
},
"repository": {
"type": "git",
Expand All @@ -17,24 +24,8 @@
"url": "https://github.com/sgmap/etudiant-entrepreneur/issues"
},
"homepage": "https://github.com/sgmap/etudiant-entrepreneur#readme",
"dependencies": {
"body-parser": "1.15.2",
"bunyan": "1.8.1",
"bunyan-blackhole": "1.1.1",
"bunyan-format": "0.2.1",
"express": "4.14.0",
"express-bunyan-logger": "1.3.0",
"http-measuring-client": "0.3.7",
"istanbul": "0.4.4",
"mocha": "2.5.3",
"nconf": "0.8.4",
"standard-error": "1.1.0",
"string": "3.3.1"
},
"dependencies": {},
"devDependencies": {
"coveralls": "2.11.9",
"eslint": "3.0.0",
"npm-run-all": "2.3.0",
"supertest": "1.2.0"
"npm-run-all": "3.1.0"
}
}
File renamed without changes.
3 changes: 3 additions & 0 deletions server/.istanbul.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instrumentation:
excludes: ['*.test.js']
extensions: ['.js']
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 40 additions & 0 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "etudiant-entrepreneur",
"version": "0.0.1",
"description": "Faciliter l'accès au statut et à ses bénéfices",
"scripts": {
"start": "./bin/api.js",
"test": "./node_modules/.bin/istanbul cover --print details node_modules/mocha/bin/_mocha -- -R spec api/*/test/** --recursive",
"lint": "./node_modules/.bin/eslint api/ bin/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sgmap/etudiant-entrepreneur.git"
},
"author": "Nicolas Brohée",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/sgmap/etudiant-entrepreneur/issues"
},
"homepage": "https://github.com/sgmap/etudiant-entrepreneur#readme",
"dependencies": {
"body-parser": "1.15.2",
"bunyan": "1.8.1",
"bunyan-blackhole": "1.1.1",
"bunyan-format": "0.2.1",
"express": "4.14.0",
"express-bunyan-logger": "1.3.0",
"http-measuring-client": "0.3.7",
"istanbul": "0.4.4",
"mocha": "2.5.3",
"nconf": "0.8.4",
"standard-error": "1.1.0",
"string": "3.3.1"
},
"devDependencies": {
"coveralls": "2.11.9",
"eslint": "3.0.0",
"npm-run-all": "2.3.0",
"supertest": "1.2.0"
}
}

0 comments on commit e745cab

Please sign in to comment.