-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (74 loc) · 3.78 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
{
"name": "access-braillerap",
"version": "0.5.11",
"description": "AccessBrailleRAP",
"main": "index.js",
"repository": "https://github.com/AccessBrailleRAP/AccessBrailleRAP",
"author": "Access Braille RAP",
"license": "GPL-3.0-only",
"private": true,
"dependencies": {
"file-saver": "^2.0.5",
"purecss": "^3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^6.3.2",
"react-intl-cli": "^0.1.2",
"react-modal": "^3.16.1",
"react-router-dom": "^6.23.0",
"react-scripts": "5.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"builddev": "cross-env GENERATE_SOURCEMAP=true react-scripts build",
"webview": "python accessbraillerap.py --debug",
"startview": "npm-run-all build webview",
"package": "pyinstaller AccessBrailleRAPW.spec",
"packagedebian": "pyinstaller DebianAccessBrailleRAP.spec",
"packageubuntu": "pyinstaller LinuxAccessBrailleRAP.spec",
"packagerpi": "pyinstaller RpiAccessBrailleRAP.spec",
"buildview": "npm-run-all clean build package",
"builddebian": "npm-run-all clean build packagedebian build-deb-debian",
"buildubuntu": "npm-run-all clean build packageubuntu build-deb-ubuntu",
"buildrpi": "npm-run-all clean build packagerpi build-deb-rpi",
"build-deb-debian":"npm-run-all mkdirdebian cpdebian clogdebian dpkg-debian checkdebian",
"build-deb-ubuntu":"npm-run-all mkdirubuntu cpubuntu clogubuntu dpkg-ubuntu checkubuntu",
"build-deb-rpi": "npm-run-all mkdirrpi cprpi clogrpi dpkg-rpi checkrpi",
"mkdirdebian":"mkdir -p ./package/debian/accessbraillerap-debian/usr/bin/",
"mkdirubuntu":"mkdir -p ./package/ubuntu/accessbraillerap-ubuntu/usr/bin/",
"mkdirrpi": "mkdir -p ./package/rpi/accessbraillerap-rpi/usr/bin/",
"clogubuntu":"git-changelog -x -s v0.4.2 -f `git tag | tail -n 1` | gzip > ./package/ubuntu/accessbraillerap-ubuntu/usr/share/doc/accessbraillerap-ubuntu/changelog.gz",
"clogdebian":"git-changelog -x -s v0.4.2 -f `git tag | tail -n 1` | gzip > ./package/debian/accessbraillerap-debian/usr/share/doc/accessbraillerap-debian/changelog.gz",
"clogrpi": "git-changelog -x -s v0.6.0 -f `git tag | tail -n 1` | gzip > ./package/rpi/accessbraillerap-rpi/usr/share/doc/accessbraillerap-rpi/changelog.gz",
"checkdebian":"lintian ./dist/accessbraillerap-debian-${npm_package_version}.deb",
"checkubuntu":"lintian ./dist/accessbraillerap-ubuntu-${npm_package_version}.deb",
"checkrpi": "lintian ./dist/accessbraillerap-rpi-${npm_package_version}.deb",
"cpdebian":"cp ./dist/accessbraillerap-debian ./package/debian/accessbraillerap-debian/usr/bin/",
"dpkg-debian":"dpkg-deb -v --build ./package/debian/accessbraillerap-debian ./dist/accessbraillerap-debian-${npm_package_version}.deb",
"cpubuntu":"cp ./dist/accessbraillerap-ubuntu ./package/ubuntu/accessbraillerap-ubuntu/usr/bin/",
"dpkg-ubuntu":"dpkg-deb -v --build ./package/ubuntu/accessbraillerap-ubuntu ./dist/accessbraillerap-ubuntu-${npm_package_version}.deb",
"cprpi": "cp ./dist/accessbraillerap-rpi ./package/rpi/accessbraillerap-rpi/usr/bin/",
"dpkg-rpi": "dpkg-deb -v --root-owner-group --build ./package/rpi/accessbraillerap-rpi ./dist/accessbraillerap-rpi-${npm_package_version}.deb",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"clean": "rm -rf build dist"
},
"devDependencies": {
"@babel/plugin-transform-private-property-in-object": "^7.23.3",
"cross-env": "^7.0.3",
"npm-run-all": "^4.1.5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}