Skip to content

Commit 9211b29

Browse files
authored
Refactor Cloud Functions samples. (#245)
1 parent c1ef3d4 commit 9211b29

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

packages/google-cloud-vision/samples/package.json

+7-10
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,17 @@
55
"license": "Apache Version 2.0",
66
"author": "Google Inc.",
77
"scripts": {
8-
"test": "mocha -R spec -t 10000 --require intelli-espower-loader ../test/_setup.js test/*.test.js",
9-
"system-test": "mocha -R spec -t 10000 --require intelli-espower-loader ../system-test/_setup.js system-test/*.test.js"
8+
"test": "cd ..; npm run t -- vision/test/*.test.js",
9+
"system-test": "cd ..; npm run st -- vision/system-test/*.test.js"
1010
},
1111
"dependencies": {
12-
"@google-cloud/vision": "^0.5.0",
13-
"async": "^2.1.2",
14-
"natural": "^0.4.0",
15-
"redis": "^2.6.3"
16-
},
17-
"devDependencies": {
18-
"mocha": "^3.1.2"
12+
"@google-cloud/vision": "0.5.0",
13+
"async": "2.1.2",
14+
"natural": "0.4.0",
15+
"redis": "2.6.3"
1916
},
2017
"optionalDependencies": {
21-
"canvas": "^1.6.2"
18+
"canvas": "1.6.2"
2219
},
2320
"engines": {
2421
"node": ">=4.3.2"

0 commit comments

Comments
 (0)