-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.72 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.72 KB
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
{
"name": "babel-plugin-jsx-source-loc",
"version": "0.0.0-development",
"description": "add a prop like data-source-loc=\"src/foo.js:35:8\" to every JSX element",
"main": "index.js",
"author": "Andy Edwards",
"license": "MIT",
"scripts": {
"lint": "eslint *.js test --cache",
"lint:fix": "eslint --fix *.js test --cache",
"prettier": "prettier --write *.js 'test/**/*.js' *.json *.md",
"prettier:check": "prettier --list-different *.js 'test/**/*.js' *.json *.md",
"test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "cross-env NODE_ENV=test mocha --watch $npm_package_config_mocha",
"test:debug": "cross-env NODE_ENV=test mocha --inspect-brk $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"prepublishOnly": "npm run lint && npm test",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "lint-staged && npm run lint",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write"
]
},
"config": {
"mocha": "test/configure.js 'test/**/*.js'",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"commitlint": {
"extends": [
"@jedwards1211/commitlint-config"
]
},
"nyc": {
"include": [
"*.js"
],
"exclude": [
"commitlint.config.js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/codemodsquad/babel-plugin-jsx-source-loc.git"
},
"keywords": [
"babel",
"jsx",
"react",
"transforms"
],
"bugs": {
"url": "https://github.com/codemodsquad/babel-plugin-jsx-source-loc/issues"
},
"homepage": "https://github.com/codemodsquad/babel-plugin-jsx-source-loc#readme",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@jedwards1211/commitlint-config": "^1.0.1",
"@jedwards1211/eslint-config": "^2.0.0",
"chai": "^4.1.2",
"codecov": "^3.7.2",
"cross-env": "^5.2.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"husky": "^4.3.0",
"istanbul": "^0.4.5",
"lint-staged": "^10.4.0",
"mocha": "^6.2.1",
"nyc": "^11.4.1",
"prettier": "^1.15.1",
"prettier-eslint": "^8.8.2",
"semantic-release": "^17.1.2"
},
"dependencies": {
"@babel/types": "^7.12.12"
}
}