-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.41 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
{
"name": "babel-plugin-better-async-await",
"version": "1.1.1",
"description": "babel plugin for better error handling using async await",
"keywords": [
"babel",
"babel-plugin-transform",
"babel-plugin-better-async-await"
],
"main": "dist/index.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "npm run clean && babel src --out-dir dist",
"clean": "rimraf dist/*",
"prepublish": "npm run lint && npm run test && npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"npm run eslint:fix",
"git add"
],
"src/**/*.{js,jsx,json,css}": [
"prettier --config .prettierrc --write",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node",
"mjs"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/vivek12345/babel-plugin-better-async-await.git"
},
"author": "Vivek Nayyar <[email protected]> (https://viveknayyar.in)",
"license": "MIT",
"bugs": {
"url": "https://github.com/vivek12345/babel-plugin-better-async-await/issues"
},
"homepage": "https://github.com/vivek12345/babel-plugin-better-async-await#readme",
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/types": "^7.2.0",
"all-contributors-cli": "^5.4.1",
"babel-core": "^7.0.0-bridge",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-plugin-tester": "^5.5.2",
"eslint": "^5.10.0",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.6.0",
"prettier": "^1.15.3"
},
"dependencies": {
"@babel/template": "^7.2.2"
}
}