forked from refined-bitbucket/refined-bitbucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
145 lines (145 loc) · 3.93 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
{
"name": "refined-bitbucket",
"description": "Chrome extension that improves BitBucket's user interface",
"version": "3.4.1",
"main": "index.js",
"scripts": {
"precommit": "lint-staged",
"prettier":
"prettier --single-quote --write \"./**/*.{js,jsx,json,css,md}\"",
"xo": "xo --fix *.js {src,test,scripts}/**/*.js !src/vendor/prism.js",
"lint": "npm run prettier && npm run xo",
"ava": "cross-env BABEL_ENV=testing ava",
"ava:w": "npm run ava -- --watch",
"build": "webpack",
"build:min": "cross-env NODE_ENV=production webpack",
"test": "npm-run-all lint ava build:min",
"watch": "webpack --watch",
"sync-version": "node scripts/sync-version",
"package": "node scripts/package",
"deploy": "npm-run-all test sync-version package && node scripts/deploy",
"major": "npm version --no-git-tag-version major && npm run sync-version",
"minor": "npm version --no-git-tag-version minor && npm run sync-version",
"patch": "npm version --no-git-tag-version patch && npm run sync-version"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css,md}": [
"prettier --single-quote --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/refined-bitbucket/refined-bitbucket.git"
},
"keywords": ["bitbucket", "highlight", "syntax-highlight", "prism"],
"author": "andremw",
"contributors": [
{
"name": "Ronald Rey",
"email": "[email protected]",
"url": "http://github.com/reyronald"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/refined-bitbucket/refined-bitbucket/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/refined-bitbucket/refined-bitbucket#readme",
"devDependencies": {
"adm-zip": "^0.4.7",
"ava": "^0.24.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"chrome-extension-deploy": "^3.0.0",
"copy-webpack-plugin": "^4.3.1",
"cross-env": "^5.1.0",
"css-loader": "^0.28.8",
"del": "^3.0.0",
"dotenv": "^4.0.0",
"firefox-extension-deploy": "^1.1.0",
"husky": "^0.14.3",
"jsdom": "^11.3.0",
"lint-staged": "^6.0.1",
"mutationobserver-shim": "^0.3.2",
"npm-run-all": "^4.1.2",
"path": "^0.12.7",
"prettier": "^1.10.2",
"request": "^2.83.0",
"require-hacker": "^3.0.1",
"semver": "^5.4.1",
"style-loader": "^0.19.1",
"uglifyjs-webpack-plugin": "^1.0.0",
"webpack": "^3.8.1",
"xo": "^0.16.0",
"yoctodelay": "^1.1.0"
},
"dependencies": {
"dom-chef": "^3.0.0",
"element-ready": "^2.2.1",
"ignore": "^3.3.6",
"jquery": "^3.2.1",
"jquery-highlight": "^3.4.0",
"marked": "^0.3.12",
"mousetrap": "^1.6.1",
"selector-observer": "^1.1.0",
"webext-options-sync": "^0.15.0"
},
"xo": {
"semicolon": true,
"esnext": true,
"space": 4,
"envs": ["browser", "jquery"],
"rules": {
"no-unused-vars": [
2,
{
"varsIgnorePattern": "^h$"
}
],
"babel/object-curly-spacing": 0,
"space-before-function-paren": 0,
"quotes": [
2,
"single",
{
"avoidEscape": true
}
]
}
},
"ava": {
"files": ["src/**/*.spec.js"],
"source": ["src/**/*.js"],
"require": ["babel-register", "./scripts/ignore-utils"],
"babel": "inherit",
"timeout": "5s"
},
"babel": {
"presets": ["@ava/stage-4"],
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h",
"useBuiltIns": true
}
],
[
"transform-object-rest-spread",
{
"useBuiltIns": true
}
]
],
"env": {
"testing": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
}
}