-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.31 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
{
"name": "@wp-blocks/make-pot",
"version": "1.4.0",
"license": "GPL-3.0-or-later",
"homepage": "https://wp-blocks.github.io/make-pot/",
"description": "A Node.js script for generating a POT file from source code",
"authors": [
"Erik Golinelli <erik@codekraft.it> (https://codekraft.it/)",
"John Hooks <bitmachina@outlook.com> (https://johnhooks.io/)"
],
"type": "commonjs",
"main": "lib/run.js",
"bin": {
"default": "lib/index.js",
"make-pot": "lib/index.js",
"makepot": "lib/index.js",
"make-json": "lib/jsonCommand.js",
"makejson": "lib/jsonCommand.js"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/wp-blocks/makePot.git"
},
"bugs": {
"url": "https://github.com/wp-blocks/makePot/issues"
},
"files": [
"lib",
"*.md",
"*.json",
"tests/*.js",
"LICENSE",
"editorconfig",
".gitignore",
".npmignore"
],
"keywords": [
"gettext",
"i18n",
"pot",
"WordPress",
"translation",
"internalization"
],
"scripts": {
"postinstall": "npm rebuild tree-sitter tree-sitter-typescript tree-sitter-php tree-sitter-javascript --force",
"build": "npx esbuild ./src/**/* --format=cjs --minify --outdir=lib --platform=node",
"watch": "tsc --watch",
"lint": "npx @biomejs/biome check --apply src",
"test": "node --test",
"ci:bundle": "npx esbuild ./src/index.ts --format=cjs --outdir=lib --bundle --external:tree-sitter --external:tree-sitter-typescript --external:tree-sitter-php --external:tree-sitter-javascript --platform=node",
"test:ci": "npm run ci:bundle && node --test",
"test:watch": "node --test --watch",
"test:coverage": "node --test --experimental-test-coverage",
"run": "node ./lib/index.js tests/fixtures/vinyl/",
"runJson": "node ./lib/jsonCommand.js tests/fixtures/vinyl/"
},
"dependencies": {
"axios": "^1.7.2",
"cli-progress": "^3.12.0",
"gettext-merger": "^1.2.1",
"gettext-parser": "^4.0.4",
"glob": "^10.4.2",
"tree-sitter": "^0.20.6",
"tree-sitter-javascript": "^0.20.4",
"tree-sitter-php": "^0.20.0",
"tree-sitter-typescript": "^0.20.5",
"yargs": "^17.7.1"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/cli-progress": "^3.11.5",
"@types/gettext-parser": "^4.0.4",
"@types/node": "^20.14.9",
"@types/yargs": "^17.0.32",
"esbuild": "0.23.0",
"typescript": "^5.5.3"
}
}