|
4 | 4 | "version": "2.3.4", |
5 | 5 | "homepage": "https://quickblox.com/developers/Javascript", |
6 | 6 | "main": "src/qbMain.js", |
7 | | - "license" : "(Apache-2.0)", |
| 7 | + "license": "(Apache-2.0)", |
8 | 8 | "keywords": [ |
9 | 9 | "quickblox", |
10 | 10 | "javascript", |
|
46 | 46 | "xml2js": "^0.4.13" |
47 | 47 | }, |
48 | 48 | "devDependencies": { |
| 49 | + "browserify": "^13.1.0", |
| 50 | + "cross-env": "^3.1.2", |
49 | 51 | "ghooks": "^1.3.2", |
50 | | - "grunt": "^0.4.5", |
51 | | - "grunt-browserify": "^3.2.1", |
52 | | - "grunt-contrib-connect": "^0.9.0", |
53 | | - "grunt-contrib-uglify": "^0.6.0", |
54 | | - "grunt-contrib-watch": "^0.6.1", |
55 | | - "grunt-notify": "^0.4.1", |
56 | | - "grunt-parallel": "^0.4.1", |
| 52 | + "gulp": "^3.9.1", |
| 53 | + "gulp-connect": "^5.0.0", |
| 54 | + "gulp-notify": "^2.2.0", |
57 | 55 | "jasmine": "^2.4.1", |
58 | | - "load-grunt-tasks": "^1.0.0" |
| 56 | + "jshint": "^2.9.3", |
| 57 | + "jshint-stylish": "^2.2.1", |
| 58 | + "vinyl-source-stream": "^1.1.0" |
59 | 59 | }, |
60 | 60 | "autoupdate": { |
61 | 61 | "source": "git", |
62 | 62 | "target": "git://github.com/QuickBlox/quickblox-javascript-sdk.git", |
63 | 63 | "basePath": "", |
64 | 64 | "files": [ |
65 | | - "quickblox.js", |
66 | 65 | "quickblox.min.js" |
67 | 66 | ] |
68 | 67 | }, |
69 | 68 | "config": { |
70 | 69 | "ghooks": { |
| 70 | + "pre-commit": "npm run lint", |
71 | 71 | "pre-push": "jasmine" |
72 | 72 | } |
73 | 73 | }, |
74 | 74 | "scripts": { |
75 | | - "setDependencies": "npm i && npm install -g grunt-cli && npm install -g jasmine", |
76 | | - "build": "grunt", |
77 | | - "test": "jasmine" |
| 75 | + "setDependencies": "npm i && npm install -g gulp-cli && npm install -g jasmine", |
| 76 | + "lint": "jshint src --reporter=node_modules/jshint-stylish", |
| 77 | + "build": "npm run lint && gulp build", |
| 78 | + "develop": "cross-env NODE_ENV=develop gulp", |
| 79 | + "start": "gulp connect" |
78 | 80 | } |
79 | 81 | } |
0 commit comments