-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.38 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "teachable-machine-playground",
"version": "0.0.0",
"private": true,
"description": "",
"license": "Apache-2.0",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/caponetto/teachable-machine-playground.git"
},
"dependencies": {
"@teachablemachine/image": "0.8.5",
"@tensorflow/tfjs": "1.3.1",
"use-sound": "4.0.1",
"seedrandom": "~2.4.3",
"react-router": "6.2.1",
"react-router-dom": "6.2.1"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@types/node": "^17.0.5",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-router": "^5.1.17",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"html-webpack-plugin": "^5.5.0",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-devtools": "^4.22.1",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.6",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.2",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"lint": "yarn eslint ./src --ext .ts,.tsx",
"build:dev": "rimraf dist && webpack --env dev --mode development",
"build:prod": "yarn lint && rimraf dist && webpack --mode production",
"build:image:win32": "echo Build image script not available for Windows",
"build:image:linux:darwin": "[ $(command -v podman) ] && podman build -t ${IMAGE_REGISTRY:-quay.io/caponetto}/${IMAGE_NAME:-teachable-machine-playground}:${IMAGE_TAG:-latest} -f ./Containerfile . || echo 'podman not available'",
"build:image": "run-script-os",
"format": "prettier --write .",
"format:check": "prettier --check .",
"start": "webpack serve --env dev --mode development"
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "current"
}
}
],
"@babel/react"
]
}
}