-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
45 lines (45 loc) · 2.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "sketch-hot-dog",
"description": "What would you say if I told you there is a sketch plugin on the market that tell you if your sketch layer is a hotdog or not a hotdog. It is very good and I do not want to work on it any more. You can hire someone else.",
"version": "0.1.2",
"engines": {
"sketch": ">=3.0"
},
"skpm": {
"name": "Sketch HotDog",
"manifest": "src/manifest.json",
"main": "hotdog.sketchplugin",
"assets": [
"assets/**/*"
]
},
"scripts": {
"build": "skpm-build",
"watch": "skpm-build --watch",
"start": "skpm-build --watch --run",
"postinstall": "npm run build && skpm-link",
"download-datasets": "(rm -rf datasets || true) && mkdir -p datasets/hotdog/ && mkdir -p datasets/not_hotdog/ && node scripts/download-images.js dataset-urls/plants.txt datasets/not_hotdog/ && node scripts/download-images.js dataset-urls/pizza.txt datasets/not_hotdog/ && node scripts/download-images.js dataset-urls/buildings.txt datasets/not_hotdog/ && node scripts/download-images.js dataset-urls/pets.txt datasets/not_hotdog/ && node scripts/download-images.js dataset-urls/hotdog.txt datasets/hotdog/ && node scripts/download-images.js dataset-urls/frankfurter.txt datasets/hotdog/ && node scripts/download-images.js dataset-urls/chili-dog.txt datasets/hotdog/",
"train-model": "python scripts/turi-model.py && mv HotdogNotHotdog.mlmodel assets/HotdogNotHotdog.mlmodel",
"lint": "find . -name \"*.js\" | grep -v node_modules | xargs eslint",
"prettier:base": "prettier --write",
"prettify": "find . -name \"*.js\" | grep -v node_modules | xargs npm run prettier:base"
},
"devDependencies": {
"@skpm/builder": "^0.8.0",
"eslint": "^8.27.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-prettier": "^2.6.0",
"prettier": "^1.13.3"
},
"author": "Mathieu Dutour <[email protected]>",
"dependencies": {
"@skpm/fs": "^0.1.2",
"@skpm/path": "^0.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mathieudutour/sketch-hotdog.git"
}
}