-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.84 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
{
"name": "simple-tr8n",
"version": "1.1.2",
"description": "Really simple JavaScript (TypeScript) library for translating user-facing messages.",
"keywords": [
"translations",
"i18n",
"internationalization"
],
"homepage": "https://github.com/Lindurion/simple-tr8n-js#readme",
"bugs": {
"url": "https://github.com/Lindurion/simple-tr8n-js/issues"
},
"license": "Apache-2.0",
"author": "Eric Barndollar",
"type": "module",
"sideEffects": false,
"files": [
"/out/dist"
],
"main": "out/dist/cjs/index.js",
"module": "out/dist/mjs/index.js",
"types": "out/dist/mjs/index.d.ts",
"exports": {
".": {
"types": "./out/dist/mjs/index.d.ts",
"import": "./out/dist/mjs/index.js",
"require": "./out/dist/cjs/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Lindurion/simple-tr8n-js.git"
},
"scripts": {
"build-cjs": "tsc --project tsconfig.dist-cjs.json && copyfiles --flat copy_to_out/dist/cjs/* out/dist/cjs",
"build-mjs": "tsc --project tsconfig.dist-mjs.json && copyfiles --flat copy_to_out/dist/mjs/* out/dist/mjs",
"build-test": "tsc --project tsconfig.test.json && copyfiles --flat copy_to_out/test/* out/test",
"check": "gts check",
"clean": "rimraf out",
"fix": "gts fix",
"posttest": "npm run check",
"prepare": "npm run clean && npm run build-cjs && npm run build-mjs",
"pretest": "npm run build-test",
"test": "jasmine --config=jasmine.json --reporter=jasmine-ts-console-reporter"
},
"devDependencies": {
"@types/jasmine": "^4.0.3",
"@types/node": "^16.11.47",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"gts": "^4.0.0",
"jasmine": "^4.3.0",
"jasmine-ts-console-reporter": "^3.1.1",
"rimraf": "^3.0.2",
"typescript": "^4.7.2"
},
"engines": {
"node": ">=16.10.0"
}
}