This repository has been archived by the owner on Feb 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
90 lines (90 loc) · 2.9 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
{
"name": "electron-hunspell",
"version": "1.1.2",
"description": "Providing hunspell based spellchecker for Electron applications",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=10"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write --single-quote --print-width 120 --jsx-bracket-same-line true",
"tslint --fix",
"git add"
]
},
"scripts": {
"prepublishOnly": "npm-run-all build:clean build test",
"test": "jest --config jest.json --coverage",
"lint": "tslint -c tslint.json -p tsconfig.json \"src/**/*.ts\" \"spec/**/*.ts\"",
"lint:staged": "lint-staged",
"build": "tsc -b --verbose ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json ./spec/tsconfig.json",
"build:clean": "shx rm -rf ./dist",
"commit": "git-cz -S",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"example:build": "tsc -p ./example/tsconfig.json && shx cp ./example/*.html ./example/dist/example",
"example:browserwindow": "npm-run-all example:build && cross-env ENTRY=browserWindow electron ./example/dist/example/main.js",
"example:browserview": "npm-run-all example:build && cross-env ENTRY=browserView electron ./example/dist/example/main.js",
"example:worker": "npm-run-all example:build && webpack --config ./example/webpack.config.js && electron ./example/dist/example/worker-main.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/electron-hunspell.git"
},
"keywords": [
"electron",
"hunspell",
"spellchecker",
"spell",
"language"
],
"author": "OJ Kwon <kwon.ohjoong@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/electron-hunspell/issues"
},
"homepage": "https://github.com/kwonoj/electron-hunspell#readme",
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-angular": "^8.3.4",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.26",
"commitizen": "^4.0.3",
"conventional-changelog-cli": "^2.0.31",
"cross-env": "^6.0.3",
"cz-conventional-changelog": "^3.1.0",
"electron": "^6.1.7",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-spin-reporter": "^2.0.0",
"lint-staged": "^9.5.0",
"npm-run-all": "4.1.5",
"prettier": "^1.19.1",
"shx": "0.3.2",
"ts-jest": "^24.3.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "^3.7.5",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"hunspell-asm": "^4.0.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "npm-run-all build test"
}
}
}