-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
177 lines (177 loc) Β· 5.76 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
176
177
{
"name": "@codemodsquad/asyncify",
"version": "0.0.0-development",
"description": "transforms promise chains into async/await",
"sideEffects": false,
"bin": "./bin/index.js",
"scripts": {
"lint": "eslint $npm_package_config_lint",
"lint:fix": "eslint $npm_package_config_lint",
"lint:watch": "esw --watch $npm_package_config_lint",
"prettier": "prettier --write .babelrc.js *.json *.md *.ts '{src,test}/**/*.{js,ts}'",
"prettier:check": "prettier --list-different .babelrc.js *.json *.md *.ts '{src,test}/**/*.{js,ts}'",
"tsc": "tsc --noEmit",
"tsc:watch": "npm run tsc -- --watch",
"clean": "rimraf es lib $(cd src; ls) *.js *.d.ts",
"build": "npm run clean && npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir es --extensions \".ts\" --source-maps inline && cross-env BABEL_ENV=es5 babel src --out-dir . --extensions \".ts\"",
"build:watch": "babel ./src ./test --out-dir dist/ --extensions \".ts\" --source-maps inline --watch",
"test": "cross-env NODE_ENV=test BABEL_ENV=es5 mocha $npm_package_config_mocha && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:coverage": "BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "cross-env NODE_ENV=test BABEL_ENV=test mocha $npm_package_config_mocha --watch --watch-extensions js,ts",
"test:debug": "cross-env NODE_ENV=test BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && npm test && npm run build",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release",
"example": "node scripts/example.babel.js"
},
"config": {
"lint": "--cache --ext .js,.ts src test",
"mocha": "test/configure.js 'src/**/*.spec.ts' 'test/**/*.spec.ts'",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint && npm run tsc",
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,ts,json,css,md}": [
"prettier --write",
"git add"
]
},
"commitlint": {
"extends": [
"@jedwards1211/commitlint-config"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "https://github.com/codemodsquad/asyncify.git"
},
"keywords": [
"async",
"await",
"promise",
"chain",
"then",
"thenable",
"codemod",
"refactoring"
],
"author": "Andy Edwards",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemodsquad/asyncify/issues"
},
"homepage": "https://github.com/codemodsquad/asyncify#readme",
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
"@babel/plugin-proposal-object-rest-spread": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.12.13",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.12.15",
"@babel/preset-env": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@babel/register": "^7.12.13",
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@jedwards1211/commitlint-config": "^1.0.0",
"@jedwards1211/eslint-config-typescript": "^1.0.0",
"@types/babel__generator": "^7.6.2",
"@types/babel__template": "^7.4.0",
"@types/babel__traverse": "^7.11.0",
"@types/chai": "^4.2.0",
"@types/chai-subset": "^1.3.3",
"@types/chalk": "^2.2.0",
"@types/find-root": "^1.1.1",
"@types/jscodeshift": "^0.6.3",
"@types/mocha": "^5.2.7",
"@types/node": "^13.7.4",
"@types/prettier": "^1.19.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"chalk": "^4.0.0",
"codecov": "^3.1.0",
"copy": "^0.3.2",
"cross-env": "^5.2.0",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-watch": "^4.0.2",
"husky": "^1.1.4",
"istanbul": "^0.4.5",
"jscodeshift": "^0.7.0",
"lint-staged": "^8.0.4",
"mocha": "^6.2.1",
"nyc": "^13.1.0",
"pkg-conf": "^3.1.0",
"prettier": "^1.15.2",
"prettier-eslint": "^8.8.2",
"print-highlighted-ast": "^1.0.0",
"promisify-child-process": "^3.1.4",
"require-glob": "^3.2.0",
"rimraf": "^2.6.0",
"semantic-release": "^15.1.4",
"typescript": "^3.7.2"
},
"dependencies": {
"@babel/generator": "^7.12.15",
"@babel/runtime": "^7.12.13",
"@babel/template": "^7.12.13",
"@babel/traverse": "^7.12.13",
"@babel/types": "^7.12.13",
"recast": "^0.19.0"
},
"renovate": {
"extends": [
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":renovatePrefix",
":updateNotScheduled",
":preserveSemverRanges",
":semanticPrefixFixDepsChoreOthers",
":automergeDisabled",
"group:monorepos"
],
"automerge": true,
"major": {
"automerge": false
}
}
}