forked from kwonoj/hunspell-asm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.88 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
96
{
"name": "hunspell-asm",
"version": "4.0.2",
"description": "WebAssembly based Javascript bindings for hunspell spellchecker",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/lib/node/hunspell.js": "./dist/cjs/lib/browser/hunspell.js",
"./dist/esm/lib/node/hunspell.js": "./dist/esm/lib/browser/hunspell.js"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"hunspell-version": "c06cd95-210713"
},
"lint-staged": {
"*.ts": [
"prettier --write --single-quote --print-width 120 --jsx-bracket-same-line true --ignore-path ./src/lib/*.js",
"tslint --fix",
"git add"
]
},
"scripts": {
"prepare": "node -r ts-node/register bootstrap.ts",
"prepublishOnly": "npm-run-all build:clean build build:lib test",
"test:hunspell": "jest --config jest-hunspell.json",
"test:hunspell-asm": "jest --config jest-hunspell-asm.json --coverage",
"test": "npm-run-all test:*",
"lint": "tslint src/**/*.ts test/**/*.ts --project tsconfig.json",
"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",
"build:lib": "shx cp -r ./src/lib ./dist/cjs && shx cp -r ./src/lib ./dist/esm",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/hunspell-asm.git"
},
"author": "OJ Kwon <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/hunspell-asm/issues"
},
"keywords": [
"WebAssembly",
"Wasm",
"Spellchecker",
"Hunspell",
"Language"
],
"homepage": "https://github.com/kwonoj/hunspell-asm#readme",
"devDependencies": {
"@babel/core": "^7.14.6",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-angular": "^12.1.4",
"@types/chai": "^4.2.21",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.171",
"@types/node": "^16.3.2",
"@types/shelljs": "^0.8.9",
"chai": "^4.3.4",
"conventional-changelog-cli": "^2.1.1",
"husky": "^3.1.0",
"jest": "^27.0.6",
"jest-spin-reporter": "^2.0.0",
"lint-staged": "^11.0.1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"rxjs": "^7.2.0",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"ts-jest": "^27.0.3",
"ts-node": "^10.1.0",
"tslint": "^6.1.3",
"tslint-no-unused-expression-chai": "0.1.4",
"typescript": "^4.3.5"
},
"dependencies": {
"emscripten-wasm-loader": "^3.0.3",
"nanoid": "^3.1.23"
},
"engines": {
"node": ">=4"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "npm-run-all build test"
}
}
}