-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.43 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
{
"name": "@u27n/core",
"version": "3.1.0",
"description": "Universal localization framework",
"keywords": [
"u27n",
"i18n",
"internationalization",
"l10n",
"localization",
"g11n",
"globalization",
"translation"
],
"author": "Max J. Polster",
"license": "MIT",
"repository": "https://github.com/mxjp/u27n-core.git",
"homepage": "https://github.com/mxjp/u27n-core",
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
".": {
"module": "./dist/es/index.js",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"./runtime": {
"module": "./dist/es/runtime/index.js",
"import": "./dist/es/runtime/index.js",
"default": "./dist/cjs/runtime/index.js"
},
"./default-data-adapter": {
"module": "./dist/es/default-data-adapter/index.js",
"import": "./dist/es/default-data-adapter/index.js",
"default": "./dist/cjs/default-data-adapter/index.js"
},
"./resources/": "./resources/"
},
"bin": {
"u27n": "./dist/cjs/cli.js"
},
"scripts": {
"clean": "rimraf ./dist ./test_out ./test_data ./src/runtime/generated ./src/generated",
"generate": "concurrently npm:generate:*",
"generate:plurals": "ts-node --project tsconfig-generators.json ./generators/plurals.ts",
"build": "npm run clean && npm run generate && concurrently npm:build:*",
"build:es": "tsc -p tsconfig-es.json",
"build:cjs": "tsc -p tsconfig-cjs.json",
"test": "npm run clean && npm run generate && tsc -p tsconfig-test.json && ava -v",
"start": "npm run clean && npm run generate && tsc -p tsconfig-test.json && concurrently \"tsc -p tsconfig-test.json -w\" \"ava -v -w\"",
"start:build": "concurrently \"tsc -p tsconfig-es.json -w\" \"tsc -p tsconfig-cjs.json -w\"",
"lint": "eslint --no-error-on-unmatched-pattern --config .eslintrc.js ./src/**/* ./test/**/*",
"prepack": "npm test && npm run build && npm run lint"
},
"devDependencies": {
"@mpt/eslint-rules": "^4.0.2",
"@types/js-string-escape": "^1.0.1",
"@types/node": "^20.6.3",
"@types/picomatch": "^2.3.0",
"@types/resolve": "^1.20.2",
"@types/yargs-parser": "^21.0.0",
"ava": "^5.3.1",
"concurrently": "^8.2.1",
"js-string-escape": "^1.0.1",
"json5": "^2.2.1",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@mpt/line-map": "^1.0.0",
"ansi-colors": "^4.1.3",
"chokidar": "^3.5.3",
"picomatch": "^2.3.1",
"resolve": "^1.22.6",
"yargs-parser": "^21.1.1"
}
}