-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
103 lines (103 loc) · 2.66 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
97
98
99
100
101
102
103
{
"name": "a18n",
"version": "1.12.4",
"description": "Automated I18n solution for JavaScript/TypeScript/React, effortlessly add I18n support for existing projects.",
"main": "dist/i18n/index.js",
"author": "FallenMax <[email protected]>",
"license": "MIT",
"scripts": {
"prebuild": "rm -rf dist",
"test": "jest",
"test:debug://": "# run command below, then launch vscode debug or chrome://inspect",
"test:debug": "node --inspect-brk node_modules/jest/bin/jest.js --runInBand",
"coverage": "codecov",
"test:watch": "jest --watch",
"build": "npm run build:node && npm run build:browser",
"build:node": "tsc --project tsconfig.json",
"build:browser": "rollup --config rollup.config.mjs",
"build:watch": "tsc --project tsconfig.json --incremental --tsBuildInfoFile ./tmp/.tsbuildinfo --watch",
"watch": "tsc --project tsconfig.json --watch",
"prepublishOnly": "pnpm install && npm run build && npm run test"
},
"keywords": [
"i18n",
"parse",
"wrap",
"extract",
"codemod",
"ast",
"localization",
"translation",
"react",
"typescript",
"jsx",
"tsx"
],
"bin": {
"a18n": "./bin/index.js"
},
"jest": {
"testURL": "http://localhost/",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "src/.*\\.test.(js|jsx|ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/*.mock.*",
"!**/test/**",
"!**/__test__/**"
],
"globals": {
"ts-jest": {
"diagnostics": false
}
}
},
"engines": {
"node": ">=8.1"
},
"devDependencies": {
"@types/babel__code-frame": "^7.0.3",
"@types/babel__traverse": "^7.18.3",
"@types/chalk": "^2.2.0",
"@types/jest": "^29.2.4",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/yargs-parser": "^21.0.0",
"codecov": "^3.8.3",
"jest": "^26.6.3",
"prettier": "^2.8.1",
"rollup": "^3.9.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^26.5.6",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"@babel/code-frame": "^7.18.6",
"@babel/parser": "^7.20.7",
"@babel/traverse": "^7.20.10",
"@babel/types": "7.20.7",
"chalk": "^4",
"cjk-regex": "^2.0.1",
"fast-glob": "^3.2.12",
"jest-worker": "^26.6.2",
"mkdirp": "^1.0.4",
"p-map": "^4.0.0",
"recast": "0.22.0",
"tslib": "^2.4.1",
"yargs-parser": "^21.1.1"
}
}