Skip to content

Commit

Permalink
added lint for mobilenet and yolo_mobilenet
Browse files Browse the repository at this point in the history
  • Loading branch information
experiencor committed Dec 1, 2017
1 parent 97ab09a commit 7a5931f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
12 changes: 7 additions & 5 deletions models/mobilenet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@
"main": "dist/index.js",
"unpkg": "dist/bundle.js",
"types": "dist/index.d.ts",
"dependencies": {
"deeplearn": "~0.3.7"
"peerDependencies": {
"deeplearn": "~0.3.11"
},
"repository": {
"type": "git",
"url": "https://github.com/PAIR-code/deeplearnjs.git"
},
"devDependencies": {
"deeplearn": "~0.3.11",
"mkdirp": "~0.5.1",
"tsify": "~3.0.3",
"typescript": "~2.5.3",
"tslint": "~5.8.0",
"typescript": "~2.6.1",
"uglifyjs": "~2.4.11",
"watchify": "~3.9.0"
},
"scripts": {
"prep": "npm install && mkdirp dist",
"prep": "yarn && mkdirp dist",
"build": "browserify --standalone mobilenet mobilenet.ts -p [tsify] -o dist/bundle.js",
"lint": "tslint -p . -t verbose",
"publish-npm": "tsc && npm run build && npm publish"
"publish-npm": "tsc --sourceMap false && yarn build && npm publish"
},
"license": "Apache-2.0"
}
16 changes: 9 additions & 7 deletions models/yolo_mobilenet/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
{
"name": "deeplearn-mobilenet-yolo-detection",
"name": "deeplearn-yolo-mobilet",
"version": "0.1.2",
"description": "Pretrained MobileNet model in deeplearn.js",
"description": "Pretrained Yolo MobileNet model in deeplearn.js",
"main": "dist/index.js",
"unpkg": "dist/bundle.js",
"types": "dist/index.d.ts",
"dependencies": {
"deeplearn": "~0.3.7"
"peerDependencies": {
"deeplearn": "~0.3.11"
},
"repository": {
"type": "git",
"url": "https://github.com/PAIR-code/deeplearnjs.git"
},
"devDependencies": {
"deeplearn": "~0.3.11",
"mkdirp": "~0.5.1",
"tsify": "~3.0.3",
"typescript": "~2.5.3",
"tslint": "~5.8.0",
"typescript": "~2.6.1",
"uglifyjs": "~2.4.11",
"watchify": "~3.9.0"
},
"scripts": {
"prep": "npm install && mkdirp dist",
"prep": "yarn && mkdirp dist",
"build": "browserify --standalone yolo_mobilenet yolo_mobilenet.ts -p [tsify] -o dist/bundle.js",
"lint": "tslint -p . -t verbose",
"publish-npm": "tsc && npm run build && npm publish"
"publish-npm": "tsc --sourceMap false && yarn build && npm publish"
},
"license": "Apache-2.0"
}

0 comments on commit 7a5931f

Please sign in to comment.