-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
105 lines (105 loc) · 2.87 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
{
"name": "color-map",
"version": "0.0.0-development",
"description": "Color map generator",
"homepage": "https://github.com/unional/color-map",
"bugs": {
"url": "https://github.com/unional/color-map/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/unional/color-map.git"
},
"license": "MIT",
"author": {
"name": "Homa Wong (unional)",
"email": "homawong@gmail.com"
},
"type": "module",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"main": "./cjs/index.js",
"types": "./esm/index.d.ts",
"files": [
"cjs",
"dist",
"esm",
"ts",
"!ts/**/*.spec.ts"
],
"scripts": {
"build": "run-p build:cjs build:esm build:tslib bundle",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:tslib": "tsc -p tsconfig.tslib.json",
"bundle": "webpack",
"clean": "rimraf cjs coverage esm lib libm && mkdir cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json || true",
"coverage": "jest --coverage",
"depcheck": "depcheck",
"lint": "eslint --ext=js,ts .",
"nuke": "yarn clean && rimraf node_modules",
"postinstall": "husky install",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"size": "size-limit",
"test": "jest",
"verify": "npm-run-all clean -p build depcheck lint coverage -p size",
"watch": "jest --watch"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@size-limit/preset-small-lib": "^7.0.8",
"@types/jest": "^28.1.1",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"assertron": "^9.2.4",
"babel-jest": "^28.1.1",
"colormap": "^2.3.2",
"depcheck": "^1.4.3",
"eslint": "^8.17.0",
"eslint-plugin-harmony": "^7.1.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
"jest-junit": "^13.2.0",
"jest-progress-tracker": "^3.0.4",
"jest-validate": "^28.1.1",
"jest-watch-repeat": "^2.0.0",
"jest-watch-suspend": "^1.1.2",
"jest-watch-toggle-config": "^2.0.1",
"jest-watch-typeahead": "^1.1.0",
"npm-run-all": "^4.1.5",
"param-case": "^3.0.4",
"pascal-case": "^3.1.2",
"pinst": "^3.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"size-limit": "^7.0.8",
"ts-jest": "^28.0.4",
"ts-loader": "^9.3.0",
"tslib": "^2.4.0",
"typescript": "^4.7.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2"
},
"packageManager": "yarn@3.2.1",
"size-limit": [
{
"path": "./cjs/index.js",
"limit": "2 KB"
},
{
"path": "./esm/index.js",
"limit": "2 KB"
},
{
"path": "./tslib/index.js",
"limit": "5 KB"
}
]
}