-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
175 lines (175 loc) · 7.68 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "yyabuilder",
"version": "4.2.5",
"keywords": [
"yyabuilder",
"babel",
"typescript",
"bundler"
],
"description": "Settings and tools for building typescript projects",
"isApp": true,
"author": "Yuri Yaryshev",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"typings": "lib/types/index.d.ts",
"homepage": "https://github.com/yuyaryshev/yyabuilder",
"repository": {
"type": "git",
"url": "https://github.com/yuyaryshev/yyabuilder"
},
"license": "Unlicense",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"start": "node bin/yb.js",
"test": "mocha ./lib/cjs/**/*.test.js",
"precompile": "node bin/yb.js precompile & eslint src --fix --quiet",
"precompile_full": "node bin/yb.js precompile & eslint src --fix --quiet",
"republish": "npm run build && npx version-select && node bin/yb.js genprojmeta && npm publish && npm uninstall -g yyabuilder && npm i -g yyabuilder --legacy-peer-deps && yb --version",
"republish_forced": "npm run build_lite && npx version-select && node bin/yb.js genprojmeta && npm publish && npm uninstall -g yyabuilder && npm i -g yyabuilder --legacy-peer-deps && yb --version",
"build": "npm run precompile_full & npm run clean & npm run build:cjs && npm run test",
"build_full": "npm run precompile_full & npm run clean & npm run build:esm && npm run build:cjs && npm run build:types && npm run lint && npm run test && npm run build:docs",
"build:ts": "npm run clean:ts && tsc",
"build:docs": "api-extractor run --local && api-documenter markdown --input-folder temp --output-folder docs",
"tsc": "npm run build:ts",
"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx",
"clean:cjs": "node bin/yb.js clean_cjs",
"build:cjs": "babel src --config-file ./babel.cjs.config.cjs --out-dir lib/cjs --extensions \".ts,.tsx,.js,.jsx\" --source-maps ",
"watch:cjs": "npm run clean:cjs & babel src --config-file ./babel.cjs.config.cjs --out-dir lib/cjs --extensions \".ts,.tsx,.js,.jsx\" --source-maps -w",
"clean:esm": "node bin/yb.js clean_esm",
"build:esm": "npm run clean:esm && babel src --config-file ./babel.esm.config.cjs --out-dir lib/esm --extensions \".ts,.tsx,.js,.jsx\" --source-maps ",
"watch:esm": "npm run clean:esm && babel src --config-file ./babel.esm.config.cjs --out-dir lib/esm --extensions \".ts,.tsx,.js,.jsx\" --source-maps -w",
"clean:types": "node bin/yb.js clean_types",
"build:types": "npm run clean:types && tsc -p tsconfig-declarations.json",
"watch:types": "npm run clean:types && tsc -p tsconfig-declarations.json -w",
"clear:docs": "node bin/yb.js clean_docs",
"clean:ts": "node bin/yb.js clean_ts",
"deps": "echo Finding loops in .js requires... & del deps.png & madge dist -c -i deps.png && deps.png",
"deps_all": "echo Generating full .js requires tree... & del deps.png & madge dist -i deps.png && deps.png",
"deps_orphans": "echo Finding orphans .js requires... & del deps.png & madge dist --orphans -i deps.png && deps.png",
"clean": "build:cjs & node bin/yb.js clean_all & npm run clear:docs",
"watch:test:cjs": "npm run build:cjs && jest --config=jest.config-cjs.cjs --passWithNoTests -w",
"test:cjs": "npm run build:cjs && jest --config=jest.config-cjs.cjs --passWithNoTests",
"test:ts": "jest --config=jest.config-ts.cjs --passWithNoTests",
"build_lite": "npm run precompile_full & npm run clean & npm run build:esm && npm run build:cjs && npm run build:types && npm run build:docs"
},
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/core": "7.15.5",
"@babel/node": "^7.15.4",
"@babel/parser": "7.15.7",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@microsoft/api-documenter": "^7.13.58",
"@microsoft/api-extractor": "^7.18.13",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/sinon": "^10.0.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-loader": "^8.2.2",
"babel-plugin-inline-replace-variables": "^1.3.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-watch": "^7.5.0",
"c8": "^8.0.1",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.10.0",
"eslint-plugin-tsdoc": "^0.2.14",
"javascript-stringify": "^2.1.0",
"jest": "^27.2.4",
"jest-ts-webcompat-resolver": "^1.0.0",
"json5": "^2.2.0",
"mocha": "^9.1.2",
"modify-filepath": "*",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"sinon": "^11.1.2",
"source-map-support": "^0.5.20",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"dependencies": {
"@babel/cli": "7.15.4",
"@babel/core": "7.15.5",
"@babel/node": "^7.15.4",
"@babel/parser": "7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/plugin-transform-typescript": "^7.15.4",
"@types/dir-glob": "^2.0.1",
"@types/fs-extra": "^9.0.12",
"@types/inquirer": "^8.1.1",
"@types/micromatch": "^4.0.2",
"@types/node": "^16.7.13",
"@types/strip-color": "^0.1.0",
"babel-plugin-inline-replace-variables": "^1.3.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-watch": "^7.5.0",
"chalk": "^4.1.2",
"commander": "^8.1.0",
"execa": "^5.1.1",
"fs-extra": "^10.0.0",
"globby": "^12.0.2",
"inquirer": "^8.1.2",
"inquirer-table-prompt": "^0.2.1",
"json5": "^2.2.0",
"micromatch": "^4.0.4",
"prettier": "^2.3.2",
"shelljs": "^0.8.4",
"shelljs-exec-proxy": "^0.2.0",
"shelljs-plugin-clear": "^0.2.0",
"shelljs-plugin-inspect": "^0.2.0",
"shelljs-plugin-open": "^0.2.0",
"shelljs-plugin-ssh": "^1.2.2",
"shelljs.exec": "^1.1.8",
"strip-color": "^0.1.0",
"ts-json-schema-generator": "^0.95.0",
"typescript": "^4.4.3"
},
"private": false,
"bin": {
"yb": "bin/yb.js",
"ybuild": "bin/yb.js",
"yyabuilder": "bin/yb.js"
},
"files": [
".gitignore",
"package.json",
"LICENSE",
"UNLICENSE",
"bin/**/*.*",
"lib/**/*.*",
"src/**/*.*",
"version.cjs",
"readme.md"
],
"bugs": {
"url": "https://github.com/yuyaryshev/yyabuilder/issues"
},
"plainDependencies": true
}