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

Commit

Permalink
[chore] remove client/package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Noëlie Andrieu committed Jan 16, 2017
1 parent 0508de8 commit 91ccb8b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 30 deletions.
25 changes: 0 additions & 25 deletions client/package.json

This file was deleted.

37 changes: 32 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@
],
"main": "build/server.js",
"dependencies": {
"americano": "0.4.2",
"async": "1.5.2",
"compression": "1.6.0",
"cozy-realtime-adapter": "1.0.1",
"cozy-vcard": "0.2.17",
"cozydb": "0.1.9",
"form-data": "0.2.0",
"jade": "1.11.0",
"multiparty": "4.1.2",
"printit": "0.1.15"
"printit": "0.1.15",

"backbone": "1.2.3",
"backbone.marionette": "2.4.4",
"backbone.projections": "1.0.0",
"backbone.subroute": "0.4.6",
"cozy-realtime-adapter": "1.0.1"
},
"devDependencies": {
"bower": "1.7.2",
Expand All @@ -33,35 +36,59 @@
"nodemon": "1.8.1",
"npm-run-all": "1.4.0",
"request-json": "0.5.4",
"sinon": "1.6.0"
"sinon": "1.6.0",

"autoprefixer": "6.3.1",
"browser-sync-brunch": "0.0.9",
"coffee-script-brunch": "1.8.3",
"coffeelint-brunch": "1.7.1",
"cozy-ui": "0.1.7",
"css-brunch": "1.7.0",
"css-mqpacker": "4.0.0",
"csswring": "4.2.1",
"jade-brunch": "1.8.2",
"javascript-brunch": "1.8.0",
"json-brunch": "1.5.4",
"postcss-brunch": "0.5.0",
"stylus-brunch": "1.8.1",
"uglify-js-brunch": "1.7.8"
},

"scripts": {
"lint": "npm-run-all 'lint:*'",
"lint:coffeelint": "coffeelint --file coffeelint.json --quiet ./server/**/*.coffee ./server.coffee ./client/app/**/*.coffee",
"lint:jshint": "coffee-jshint --options node,couch ./server/**/*.coffee ./server.coffee",

"clean": "rm -rf build",

"tx": "tx pull --all || true",

"ensure:client": "cd client && npm update --quiet && bower install --quiet",

"prebuild": "npm-run-all clean tx lint",
"prebuild:client": "npm run ensure:client",
"postbuild": "npm-run-all --parallel copy:*",
"build:server": "coffee --bare --compile --output build/server server && coffee --bare --compile --output build server.coffee",
"build:client": "cd client && brunch build --production",
"copy:views": "mkdir -p build/server/views && cp -r server/views/* build/server/views/",
"build": "npm-run-all --parallel 'build:*'",

"pretest:server": "cozy-dev db:switch cozy-contacts-tests",
"test:server": "env NODE_ENV=test mocha test --globals setTimmediate,clearImmediate --reporter spec --compilers coffee:coffee-script/register --colors",
"posttest:server": "cozy-dev db:switch cozy",
"test:client": "env NODE_PATH=\"./client/app:$NODE_PATH\" mocha client/test --compilers coffee:coffee-script/register --ui bdd --colors",
"test:build": "env USE_JS=true npm run test",
"test": "npm run test:server",

"fixtures:generate": "cozy-fixtures load -g -l -n 1000 client/test/fixtures/contacts-model.json",
"fixtures": "npm-run-all 'fixtures:*'",

"prewatch:client": "npm run ensure:client",
"watch:inspector": "node-inspector",
"watch:server": "nodemon --debug --ignore client/ server.coffee",
"watch:client": "cd client && brunch watch",
"watch": "npm-run-all --parallel 'watch:*'",

"start": "node build/server.js"
},
"repository": "https://github.com/cozy/cozy-contacts",
Expand Down

0 comments on commit 91ccb8b

Please sign in to comment.