This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
56 lines (56 loc) · 1.81 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
{
"name": "uebersicht-widget-istats",
"description": "Übersicht widget for the iStats Ruby gem to display SMC information on your desktop.",
"version": "2.3.0",
"private": true,
"keywords": [
"uebersicht",
"widget",
"istats",
"desktop"
],
"author": "Roland Schaer <[email protected]>",
"license": "Apache-2.0",
"homepage": "https://github.com/roele/istats",
"repository": {
"type": "git",
"url": "https://github.com/roele/istats.git"
},
"bugs": {
"url": "https://github.com/roele/istats/issues"
},
"main": "index.jsx",
"scripts": {
"lint": "eslint --ext .js --ext .jsx .",
"pretest": "npm run lint",
"test": "jest",
"test:coverage": "jest --coverage",
"clean": "rm -rf dist reports",
"prebuild": "npm run clean && npm run test",
"build": "mkdir -p dist/istats.widget && rsync -r -R index.jsx index.css icons.ttf src/ dist/istats.widget --exclude={'__mocks__','__tests__'}",
"prezip": "npm run build",
"zip": "cd dist && zip -r istats.widget.zip istats.widget -i@../include.lst -x@../exclude.lst -X && mv istats.widget.zip ..",
"version": "npm run zip && git add --all",
"postversion": "git push && git push --tags && npm run clean"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"babel-jest": "^28.1.0",
"eslint": "^8.16.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-sonarjs": "^0.13.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"jest-junit": "^13.2.0",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"jest-junit": {
"outputDirectory": "./reports/junit",
"outputName": "./test-results.xml"
}
}