-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.82 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
{
"name": "intl-ts",
"version": "4.3.2",
"description": "Type safe internationalization library",
"keywords": [
"internationalization",
"internationalisation",
"localization",
"localisation",
"intl",
"i18n",
"library",
"typescript",
"message",
"translate",
"language"
],
"homepage": "https://github.com/slune-org/intl-ts#readme",
"bugs": {
"url": "https://github.com/slune-org/intl-ts/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/slune-org/intl-ts.git"
},
"license": "MIT",
"author": "Slune",
"type": "commonjs",
"exports": {
"require": "./lib/index.js",
"import": "./lib/module.mjs"
},
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
"lib/**",
"!lib/**/*.spec.*",
"!lib/**/*.map"
],
"scripts": {
"prepublishOnly": "pm-exec run all",
"version": "pm-exec run all",
"postversion": "git push && git push --tags",
"all": "pm-exec run clean && pm-exec run test && pm-exec run build",
"test": "pm-exec run test:lint && pm-exec run test:depends && pm-exec run test:unit",
"test:lint": "eslint --config .eslintrc.full.yaml --max-warnings 0 'src/**/*.ts'",
"test:depends": "depcheck",
"test:unit": "nyc mocha 'src/**/*.spec.ts'",
"test:dep": "depcheck",
"build": "pm-exec run build:main && pm-exec run build:modules",
"build:main": "tsc",
"build:modules": "cp src/module.mjs lib/",
"debug": "pm-exec run debug:watch",
"debug:watch": "onchange 'src/**' -- pm-exec run test:unit",
"clean": "rimraf lib",
"example": "pm-exec run example:mobx-full && pm-exec run example:redux-lite",
"example:mobx-full": "cross-env NAME=mobx-full pm-exec run :example:name",
"example:redux-lite": "cross-env NAME=redux-lite pm-exec run :example:name",
":example:name": "rimraf examples/${NAME} && cp -r examples/content examples/${NAME} && patch -d examples/${NAME} -p1 -i ../${NAME}.diff"
},
"dependencies": {},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.1",
"@types/chai": "4.2.11",
"@types/mocha": "7.0.2",
"@types/node": "14.0.9",
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "3.1.0",
"chai": "4.2.0",
"cross-env": "7.0.2",
"depcheck": "0.9.2",
"eslint": "7.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsdoc": "26.0.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.3",
"mobx": "5.15.4",
"mocha": "7.2.0",
"nyc": "15.1.0",
"onchange": "7.0.2",
"pm-exec": "1.0.0",
"prettier": "2.0.5",
"rimraf": "3.0.2",
"source-map-support": "0.5.19",
"ts-node": "8.10.2",
"typescript": "3.9.3"
},
"peerDependencies": {},
"engines": {
"node": ">=10.0.0"
}
}