forked from streetsidesoftware/cspell-dicts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.77 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
{
"name": "@cspell/dict-pt-br",
"version": "2.1.3",
"description": "Brazilian Portuguese dictionary for cspell.",
"publishConfig": {
"access": "public"
},
"exports": {
".": "./cspell-ext.json",
"./cspell": "./cspell-ext.json",
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "yarn run compile",
"sync": "yarn cpy \"../../node_modules/dictionary-pt/**\" src/hunspell",
"checksum": "shasum -c checksum.txt",
"compile": "cat source-files.txt | xargs cross-env NODE_OPTIONS=--max_old_space_size=12288 cspell-tools-cli compile --trie3 -x compound --merge pt_BR -o . --no-compress && yarn run gen-checksum",
"conditional-build": "yarn run sync && yarn run --silent checksum || yarn run build",
"gen-checksum": "cat source-files.txt source-dependencies.txt | sort -u | xargs shasum > checksum.txt",
"test-dict": "hunspell-reader words -n 1000 \"src/hunspell/index.dic\" | cspell -v -c ./cspell-ext.json --local=pt --languageId=* stdin",
"test-text": "cspell",
"test": "yarn run test-dict && yarn run test-text",
"prepare": "gzip -f -k *.trie",
"prepublishOnly": "echo pre-publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/streetsidesoftware/cspell-dicts.git"
},
"keywords": [
"cspell",
"cspell-ext",
"pt_BR",
"Brazilian Portuguese",
"dictionary",
"spelling"
],
"author": "Jason Dent",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
},
"homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/pt_BR#readme",
"files": [
"pt_BR.trie.gz",
"src/hunspell/license",
"cspell-ext.json"
],
"devDependencies": {
"dictionary-pt": "^3.1.0"
}
}