This repository was archived by the owner on May 9, 2019. It is now read-only.
forked from jimp-dev/jimp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 3.36 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 3.36 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
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
{
"private": true,
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "https://github.com/oliver-moran/jimp.git"
},
"scripts": {
"lint": "xo",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register './packages/**/test/**/*.test.js'",
"test:watch": "npm run test -- --reporter min --watch",
"test:browser": "cross-env BABEL_ENV=test ENV=browser CHROME_BIN=\"$(which chrome || which chromium)\" karma start --single-run",
"test:browser:watch": "npm run -s test:browser start -- --auto-watch",
"clean": "lerna clean --yes && rm -rf node_modules && npm run clean:build",
"clean:build": "rm -rf packages/**/es packages/**/dist",
"build": "npm run clean:build && lerna run build --stream",
"build:watch": "lerna run build:watch --parallel",
"version": "lerna-changelog --from v0.2.28 > CHANGELOG.md && git add CHANGELOG.md && git commit -m 'Update CHANGELOG.md'",
"publish:packages": "npm run build && lerna publish --npm-client npm"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^8.2.6",
"babel-plugin-add-module-exports": "^0.3.2",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-source-map-support": "^2.0.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"cross-env": "^5.2.0",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^1.0.0-rc.13",
"lerna": "^3.1.4",
"lerna-changelog": "^0.8.0",
"lint-staged": "^7.2.2",
"prettier": "^1.14.2",
"should": "^13.2.3",
"source-map-support": "^0.5.9",
"tfilter": "^1.0.1",
"xo": "^0.22.0",
"babelify": "^9.0.0",
"browserify": "^16.2.2",
"envify": "^4.1.0",
"express": "^4.16.3",
"karma": "^3.0.0",
"karma-browserify": "^5.3.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"uglify-js": "^3.4.8",
"watchify": "^3.11.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"tabWidth": 2
},
"xo": {
"parser": "babel-eslint",
"extends": [
"prettier"
],
"plugins": [
"prettier"
],
"env": [
"browser",
"node",
"jest"
],
"ignores": [
"omggif.js",
"**/*.d.ts"
],
"rules": {
"capitalized-comments": 0,
"unicorn/number-literal-case": 0,
"no-control-regex": 1,
"prefer-rest-params": 1,
"no-new": 0,
"no-console": [
2,
{
"allow": [
"warn",
"error"
]
}
],
"max-params": [
1,
6
],
"import/no-extraneous-dependencies": [
1,
{
"devDependencies": true
}
]
},
"overrides": [
{
"files": "**/test/**/*.js",
"esnext": false,
"globals": [
"before"
],
"rules": {
"max-nested-callbacks": 0
}
}
]
}
}