forked from jimp-dev/jimp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 3.4 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
{
"name": "@jimp/monorepo",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"repository": "oliver-moran/jimp",
"author": "Andrew Lisowski <lisowski54@gmail.com>",
"publishConfig": {
"registry":"https://registry.npmjs.org/"
},
"scripts": {
"lint": "xo",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register './packages/**/test/**/*.test.js' --require ts-node/register ./packages/**/test/*.test.ts",
"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",
"release": "auto shipit"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"auto": "^7.4.1",
"babel-eslint": "^9.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-istanbul": "^5.0.1",
"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",
"express": "^4.16.3",
"husky": "^1.0.0-rc.15",
"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",
"lerna": "^3.13.4",
"lerna-changelog": "^0.8.0",
"lint-staged": "^7.3.0",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"prettier": "^1.14.3",
"should": "^13.2.3",
"source-map-support": "^0.5.9",
"watchify": "^3.11.0",
"xo": "^0.23.0"
},
"auto": {
"plugins": [
"npm",
"released"
]
},
"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",
"**/*.ts",
"**/*.d.ts",
"*.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
],
"unicorn/prefer-exponentiation-operator": 0
},
"overrides": [
{
"files": "**/test/**/*.js",
"esnext": false,
"globals": [
"before"
],
"rules": {
"import/no-extraneous-dependencies": 0,
"max-nested-callbacks": 0
}
}
]
}
}