-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
70 lines (70 loc) · 2.17 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
{
"name": "joplin-plugin-notelistpreview",
"version": "1.1.0",
"scripts": {
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
"prepare": "npm run dist && husky install",
"updateVersion": "webpack --env joplin-plugin-config=updateVersion",
"update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force",
"release": "npm test && node ./node_modules/joplinplugindevtools/dist/createRelease.js",
"preRelease": "npm test && node ./node_modules/joplinplugindevtools/dist/createRelease.js --prerelease",
"gitRelease": "node ./node_modules/joplinplugindevtools/dist/createRelease.js --upload",
"gitPreRelease": "node ./node_modules/joplinplugindevtools/dist/createRelease.js --upload --prerelease",
"test": "jest"
},
"license": "MIT",
"keywords": [
"joplin-plugin"
],
"files": [
"publish"
],
"devDependencies": {
"@joplin/lib": "^2.14.1",
"@types/jest": "^29.5.11",
"@types/node": "^18.7.13",
"chalk": "^4.1.0",
"copy-webpack-plugin": "^11.0.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-when": "^3.6.0",
"joplinplugindevtools": "^1.0.15",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"tar": "^6.1.11",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.1",
"typescript": "^4.8.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"yargs": "^17.7.2"
},
"dependencies": {
"electron-log": "^5.0.3",
"html-entities": "^2.5.2",
"i18n": "^0.15.1",
"moment": "^2.29.4",
"remove-markdown": "^0.5.0",
"string-natural-compare": "^3.0.1"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"^api$": "<rootDir>/node_modules/joplinplugindevtools/dist/apiMock.js",
"^api/(.*)$": "<rootDir>/api/$1"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}