forked from bin-nuance-bat/project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.59 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "honesty-store-kiosk",
"description": "Kiosk client for honesty.store in scottLogic NCL office",
"version": "0.1.0",
"private": true,
"dependencies": {
"@inlet/react-pixi": "^0.1.4",
"@tensorflow-models/mobilenet": "^0.2.2",
"@tensorflow-models/posenet": "^0.2.2",
"@tensorflow/tfjs": "^0.12.5",
"ajv": "^6.0.0",
"file-saver": "^1.3.8",
"firebase": "^5.3.1",
"jszip": "^3.1.5",
"luxon": "^1.3.3",
"node-sass-chokidar": "^1.3.3",
"pixi.js": "^4.8.1",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-firebaseui": "^3.0.6",
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"react-scripts": "^1.1.4",
"react-webcam": "^1.0.1",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0"
},
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"prettify": "prettier --write ./src/**/*.js",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "rm -rf node_modules/@tensorflow/tfjs-converter/dist-es6 && react-scripts build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"deploy-local": "npm run build && firebase deploy",
"deploy": "firebase use default && firebase deploy --token $FIREBASE_TOKEN",
"lint": "eslint **/*.js",
"install-functions": "cd functions && npm install && cd .."
},
"lint-staged": {
"*.js*": [
"npm run prettify",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^23.4.0",
"babel-preset-env": "^1.7.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^1.0.0-rc.13",
"jest": "^23.4.1",
"jest-fetch-mock": "^1.6.5",
"lint-staged": "^7.2.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.13.7"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"rules": {
"prefer-const": "error",
"semi": "error",
"no-var": "error",
"no-shadow": "error",
"object-shorthand": "error"
}
},
"resolutions": {
"eslint-scope": "3.7.1"
}
}