-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.79 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
{
"name": "confinode",
"version": "2.1.1",
"description": "Node application configuration reader",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"type": "commonjs",
"files": [
"lib/**",
"!lib/**/*.spec.*",
"!lib/**/*.map",
"!lib/tools/**"
],
"scripts": {
"version": "pm-exec run all",
"postversion": "git push && git push --tags",
"prepublishOnly": "pm-exec run all",
"all": "pm-exec run clean && pm-exec run test && pm-exec run build",
"pretest": "glob-exec --foreach --parallel './__tests__/projects/{app,tested/*}/package.json' -- 'cd {{file.dir}} && pm-exec install'",
"test": "pm-exec run test:lint && pm-exec run test:dep && pm-exec run test:unit && pm-exec run test:integration",
"test:lint": "eslint --config .eslintrc.full.yaml 'src/**/*.ts'",
"test:dep": "depcheck",
"test:unit": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER=ttypescript nyc mocha 'src/**/*.spec.ts'",
"test:integration": "pm-exec run build:main && glob-exec --foreach './__tests__/projects/tested/*/package.json' -- 'cd {{file.dir}} && pm-exec test'",
"build": "pm-exec run build:main && pm-exec run build:extensions",
"build:extensions": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER=ttypescript ts-node src/tools/managedExtensions.ts doc/extensions.md",
"build:main": "ttsc && copyfiles -u 1 src/**/*.js lib",
"clean": "rimraf lib"
},
"keywords": [
"node",
"application",
"configuration",
"reader",
"universal"
],
"author": "Slune",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/slune-org/confinode.git"
},
"engines": {
"node": ">=10.0.0"
},
"dependencies": {
"quick-lru": "^5.0.0",
"yaml": "^1.7.2"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.1",
"@types/chai": "4.2.9",
"@types/chai-as-promised": "7.1.2",
"@types/mocha": "7.0.1",
"@types/node": "13.7.7",
"@types/sinon": "7.5.2",
"@types/sinon-chai": "3.2.3",
"@types/yaml": "1.2.0",
"@typescript-eslint/eslint-plugin": "2.21.0",
"@typescript-eslint/parser": "2.21.0",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"copyfiles": "2.2.0",
"cross-env": "7.0.0",
"depcheck": "0.9.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsdoc": "21.0.0",
"eslint-plugin-node": "11.0.0",
"eslint-plugin-prettier": "3.1.2",
"glob-exec": "0.1.1",
"mocha": "7.1.0",
"nyc": "15.0.0",
"pm-exec": "1.0.0",
"prettier": "1.19.1",
"rimraf": "3.0.2",
"sinon": "9.0.0",
"sinon-chai": "3.5.0",
"source-map-support": "0.5.16",
"ts-node": "8.6.2",
"ts-transform-auto-require": "1.1.0",
"ttypescript": "1.5.10",
"typescript": "3.8.3"
}
}