This repository was archived by the owner on Dec 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 1.93 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
{
"name": "bitcolor",
"version": "0.4.0",
"keywords": [
"color"
],
"description": "Small and simple color manipulation library",
"main": "cjs/index.js",
"module": "esm/index.js",
"sideEffects": false,
"files": [
"cjs/**/*",
"esm/**/*"
],
"repository": "git@github.com:pocka/bitcolor.git",
"author": "Shota Fuji <pockawoooh@gmail.com>",
"license": "MIT",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.build.json --outDir esm",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir cjs",
"lint": "eslint 'src/**/*.ts'",
"test": "jest",
"docs": "http-server ./docs",
"docs:prepare": "npm run build && npm run benchmark ./benchmark/build-stats.ts && mv ./benchmark/stats.json ./docs/",
"format": "eslint --fix 'src/**/*.ts'",
"fmt": "npm run format",
"prepack": "npm run build",
"benchmark": "ts-node -P ./benchmark/tsconfig.json --files"
},
"devDependencies": {
"@types/jest": "^24.0.18",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"benny": "^3.6.13",
"chroma-js": "^2.0.6",
"color": "^3.1.2",
"color-fns": "^0.1.1",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"http-server": "^0.11.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"pretty-bytes": "^5.3.0",
"tinycolor2": "^1.4.1",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typescript": "^3.6.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"git add"
],
"*.{md,json}": [
"prettier --write",
"git add"
]
},
"prettier": {
"semi": false,
"singleQuote": true
}
}