-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
54 lines (54 loc) · 2.08 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
{
"name": "my-notes",
"version": "3.29.0",
"description": "Simple and fast note-taking.",
"author": "Pavel Bucka",
"license": "MIT",
"repository": "github:penge/my-notes",
"type": "module",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"__prepare-folder": "rimraf dist && copyfiles LICENSE manifest.json dist && copyup public/images/icon128.png public/* dist && cp -R public/themes dist",
"__prepare-folder-develop": "npm run __prepare-folder && cp -R public/integration dist && node --import ./register.js ./env/set-client-id.ts dist/manifest.json",
"__check-types": "tsc --noEmit",
"__develop-core": "NODE_ENV=development node --import ./register.js ./build.ts",
"lint": "eslint src --ext .ts,.tsx",
"test": "LOG_LEVEL=SILENT TZ=UTC jest --maxWorkers=4",
"develop": "npm run __prepare-folder-develop && npm run __develop-core",
"develop-watch": "npm run develop && chokidar \"src/**/*.(ts|tsx|json)\" \"public/**/*.(html|css)\" -c \"[[ {path} == src* ]] && npm run __develop-core;[[ {path} == public* ]] && copyup {path} dist\"",
"build": "npm run __prepare-folder && npm run __check-types && NODE_ENV=production node --import ./register.js ./build.ts"
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@types/chrome": "0.0.246",
"@types/jest": "^29.5.5",
"@types/jsdom": "^21.1.3",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"chokidar-cli": "^3.0.0",
"copyfiles": "^2.4.1",
"eslint": "^8.51.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^22.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"clsx": "^2.0.0",
"esbuild": "^0.19.8",
"fflate": "^0.8.1",
"preact": "10.18.1"
}
}