-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.98 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
{
"name": "color-mage",
"version": "0.0.0-development",
"license": "MIT",
"description": "A dependency-free image color extraction library.",
"homepage": "https://github.com/gilmarsquinelato/color-mage#readme",
"author": {
"name": "Gilmar Quinelato",
"email": "gilmarsquinelato@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/gilmarsquinelato/color-mage"
},
"type": "module",
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"release": {
"branches": [
"main"
]
},
"scripts": {
"start": "parcel example/index.html",
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:cjs": "npm run build:base -- --outfile=lib/index.cjs --format=cjs",
"build:esm": "npm run build:base -- --outfile=lib/index.js --format=esm",
"build:base": "esbuild src/index.ts --bundle --minify --sourcemap",
"build:types": "tsc --emitDeclarationOnly --outDir lib -p tsconfig.json",
"prepare": "husky install",
"test": "jest",
"lint": "eslint src --ext .ts --max-warnings 0",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"esbuild": "^0.14.23",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.0",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"parcel": "^2.3.2",
"semantic-release": "^19.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"lint-staged": {
"**/*.ts": [
"eslint --fix",
"jest --findRelatedTests"
]
}
}