-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
95 lines (95 loc) · 2.98 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
{
"name": "publiccode-editor",
"version": "1.4.3",
"license": "AGPL-3.0-or-later",
"description": "[License](./LICENSE)",
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"predev": "npm run build:wasm",
"prebuild": "npm run build:wasm && npm run build:licenses",
"build:licenses": "mkdir -p src/generated && tsx scripts/genLicenseList.ts src/generated/licenses.json",
"build:wasm": "cp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" public && GOOS=js GOARCH=wasm go build -o public/main.wasm src/wasm/main.go",
"serve": "rm -rf dist; npm run build && http-server dist",
"test": "jest --passWithNoTests",
"gdeploy": "gh-pages -u 'Deploy Bot <[email protected]>' -d dist",
"_postinstall": "patch-package",
"release": "release-it"
},
"keywords": [
"publiccode",
"publicode",
"editor"
],
"repository": {
"type": "git",
"url": "[email protected]:italia/publiccode-editor.git"
},
"jest": {
"moduleNameMapper": {
"^.+.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "<rootDir>/src/__mocks__/svgImportMock.js",
"^worker-loader!.*": "<rootDir>/src/__mocks__/workerMock.js"
},
"transform": {
"^.+\\.(t|j)sx?$": "@swc/jest"
}
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.5",
"bootstrap": "^4.6.0",
"bootstrap-italia": "^2.8.8",
"copy-to-clipboard": "^3.3.3",
"countries-list": "^3.0.6",
"design-react-kit": "^5.0.4",
"i18next": "^23.2.2",
"i18next-browser-languagedetector": "^7.2.0",
"js-yaml": "^4.1.0",
"locale-codes": "^1.3.1",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.45.0",
"react-hook-form-persist": "^3.0.0",
"react-i18next": "^13.0.0",
"react-jss": "^10.10.0",
"react-redux": "^8.1.1",
"react-widgets": "^5.8.4",
"type-fest": "^4.10.3",
"validator": "^13.9.0",
"yaml": "^2.4.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@peterek/vite-plugin-favicons": "^2.0.0",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.16.5",
"@types/golang-wasm-exec": "^1.15.0",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/validator": "^13.7.17",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.13",
"gh-pages": "^5.0.0",
"globals": "^15.9.0",
"jest": "^26.6.3",
"release-it": "^17.4.0",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.1"
}
}