File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " parse-server" ,
3
3
"version" : " 2.0.7" ,
4
4
"description" : " An express module providing a Parse-compatible API server" ,
5
- "main" : " index.js" ,
5
+ "main" : " lib/ index.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
8
"url" : " https://github.com/ParsePlatform/parse-server"
19
19
"mime" : " ^1.3.4" ,
20
20
"mongodb" : " ~2.1.0" ,
21
21
"multer" : " ^1.1.0" ,
22
+ "node-gcm" : " ^0.14.0" ,
22
23
"parse" : " ^1.7.0" ,
23
24
"randomstring" : " ^1.1.3" ,
24
- "node-gcm" : " ^0.14.0" ,
25
25
"request" : " ^2.65.0"
26
26
},
27
27
"devDependencies" : {
28
+ "babel" : " ^6.5.1" ,
29
+ "babel-cli" : " ^6.5.1" ,
30
+ "babel-core" : " ^6.5.1" ,
31
+ "babel-preset-es2015" : " ^6.5.0" ,
32
+ "babel-register" : " ^6.5.1" ,
28
33
"codecov" : " ^1.0.1" ,
29
34
"deep-diff" : " ^0.3.3" ,
30
35
"istanbul" : " ^0.4.2" ,
31
36
"jasmine" : " ^2.3.2" ,
32
37
"mongodb-runner" : " ^3.1.15"
33
38
},
34
39
"scripts" : {
40
+ "build" : " ./node_modules/.bin/babel src/ -d lib/" ,
35
41
"pretest" : " MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start" ,
36
- "test" : " NODE_ENV=test TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources - x **/spec/** ./node_modules/.bin/jasmine" ,
42
+ "test" : " NODE_ENV=test TESTING=1 ./node_modules/.bin/istanbul cover -x **/spec/** ./node_modules/.bin/jasmine" ,
37
43
"posttest" : " mongodb-runner stop" ,
38
- "start" : " ./bin/parse-server"
44
+ "start" : " ./bin/parse-server" ,
45
+ "prepublish" : " npm run build"
39
46
},
40
47
"engines" : {
41
48
"node" : " >=4.1"
You can’t perform that action at this time.
0 commit comments