/
package.json
154 lines (154 loc) · 5.19 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "zenobia-ts",
"version": "0.0.2",
"description": "The regular expression based file management library",
"main": "./dist/zenobia-bundle.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"bin": {
"zen": "./dist/zenobia-cli-bundle.js"
},
"scripts": {
"clean": "rimraf dist/* && rimraf output/*",
"t": "mocha",
"test": "npm run build:p && npm run t",
"build": "npm run build:d",
"build:d": "npm run clean && npm run __b:dev:src && npm run __b:dev:test && npm run __b:dev:cli",
"build:p": "npm run clean && npm run __b:prod:src && npm run __b:prod:test && npm run __b:prod:cli",
"__b:prod:src": "webpack -d --env.mode production --config webpack.config.src.js",
"__b:prod:test": "webpack -d --env.mode production --config webpack.config.test.js",
"__b:prod:cli": "webpack -d --env.mode production --config webpack.config.cli.js",
"__b:publish": "npm run clean && npm run __b:prod:src && npm run __b:prod:cli",
"__b:dev:src": "webpack -d --env.mode development --config webpack.config.src.js",
"__b:dev:test": "webpack -d --env.mode development --config webpack.config.test.js",
"__b:dev:cli": "webpack -d --env.mode development --config webpack.config.cli.js",
"exec": "node ./dist/zenobia-cli-bundle.js",
"lint": "(npx semistandard --verbose | npx snazzy) && npx eslint -c .eslintrc.js \"./lib/**/*.ts\" \"./tests/**/*.ts\" --no-error-on-unmatched-pattern",
"fix": "npx eslint -c .eslintrc.js \"./lib/**/*.ts \"./tests/**/*.ts\" --fix --no-error-on-unmatched-pattern",
"watch": "npm run clean && webpack --watch --env.mode development --config webpack.config.src.js",
"watch:t": "npm run clean && webpack --watch --env.mode development --config webpack.config.test.js",
"watch:c": "npm run clean && webpack --watch --env.mode development --config webpack.config.cli.js",
"audit": "npm audit --skip-unused",
"dep": "depcheck --ignores 'xpath,webpack-cli,sinon,@commitlint/cli,@commitlint/config-conventional,precommit-hook,shebang-loader,raw-loader'",
"check": "npm run audit && npm run dep && npm outdated --depth 0",
"validate": "npm run lint && npm run build:p && npm run t",
"cm": "npx git-cz",
"nyc": "nyc mocha",
"coveralls": "npm run nyc && nyc report --reporter=text-lcov | coveralls",
"prepare": "npm run snyk-protect && echo '---> [STEP: prepare]:' && npm run __b:publish",
"prepublishOnly": "echo '---> [STEP: prepublishOnly]:' npm run build:p",
"preversion": "echo '---> [STEP: preversion]:' && npm run lint",
"version": "echo '---> [STEP: version]'",
"postversion": "echo '---> [STEP: postversion]'",
"snyk-protect": "snyk protect"
},
"nyc": {
"include": [
"lib/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register",
"source-map-support/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/plastikfan/zenobia-ts.git"
},
"keywords": [
"regex",
"xml",
"filesystem",
"cli"
],
"author": "plastikfan",
"license": "ISC",
"bugs": {
"url": "https://github.com/plastikfan/zenobia-ts/issues"
},
"homepage": "https://github.com/plastikfan/zenobia-ts#readme",
"dependencies": {
"@types/yargs": "^15.0.4",
"@types/ramda": "^0.27.5",
"jaxom-ts": "^0.0.18",
"jinxed": "0.0.3",
"memfs": "^3.1.2",
"ramda": "^0.27.0",
"xmldom-ts": "^0.3.1",
"xpath-ts": "^1.3.13",
"yargs": "^15.4.0",
"snyk": "^1.316.1"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@istanbuljs/nyc-config-typescript": "^1.0.0",
"@types/chai": "^4.2.5",
"@types/dirty-chai": "^2.0.2",
"@types/mocha": "^7.0.0",
"@types/sinon": "^9.0.0",
"@types/sinon-chai": "^3.2.3",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^3.0.0",
"chai": "^4.2.0",
"commitizen": "^4.0.3",
"coveralls": "^3.0.9",
"cz-conventional-changelog": "^3.0.2",
"depcheck": "^0.9.1",
"dirty-chai": "^2.0.1",
"eslint": "^6.8.0",
"eslint-config-semistandard": "^15.0.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"fs-monkey": "^1.0.1",
"json-loader": "^0.5.7",
"mocha": "^7.0.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.0.0",
"precommit-hook": "^3.0.0",
"raw-loader": "^4.0.0",
"rimraf": "^3.0.0",
"sinon": "^9.0.0",
"sinon-chai": "^3.4.0",
"snazzy": "^8.0.0",
"source-map-support": "^0.5.16",
"ts-loader": "^6.2.1",
"ts-node": "^8.5.4",
"typescript": "^3.7.4",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-config-utils": "^2.3.1",
"webpack-node-externals": "^1.7.2"
},
"pre-commit": [
"lint",
"validate",
"test"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"semistandard": {
"env": [
"mocha",
"node"
]
},
"snyk": true
}