forked from jimp-dev/jimp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 3.68 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
{
"name": "@jimp/monorepo",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"description": "The jimp monorepo.",
"repository": "oliver-moran/jimp",
"author": "Andrew Lisowski <[email protected]>",
"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",
"tsTest:custom": "dtslint packages/custom/types --expectOnly",
"tsTest:main": "dtslint packages/jimp/types --expectOnly"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.7.0",
"@babel/runtime": "^7.7.2",
"auto": "^9.19.5",
"babel-eslint": "^10.0.3",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-source-map-support": "^2.1.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"cross-env": "^6.0.0",
"dtslint": "^0.9.8",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"express": "^4.17.1",
"husky": "^3.0.5",
"karma": "^4.3.0",
"karma-browserify": "^6.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"lerna": "^3.16.4",
"lerna-changelog": "^0.8.2",
"lint-staged": "^9.2.5",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"should": "^13.2.3",
"source-map-support": "^0.5.13",
"watchify": "^3.11.1",
"xo": "^0.24.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
}
}
]
}
}