-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.74 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
{
"name": "@js-bits/log-in-color",
"version": "1.0.2",
"description": "Colorful console logging",
"keywords": [
"javascript",
"typescript",
"log",
"logging",
"console",
"color",
"colorful",
"colored",
"message"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"default": "./index.js"
}
},
"engines": {
"node": ">=12"
},
"scripts": {
"build": "rimraf ./dist && yarn build:dts && rollup ./index.js --format cjs --file dist/index.cjs",
"build:dts": "tsc ./index.js --allowJs --emitDeclarationOnly --declaration --outDir dist",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"test-cjs": "jest --verbose",
"test-coverage": "yarn test --coverage",
"test-watch": "yarn test --watch",
"lint": "tsc --noEmit && eslint '**/*.{js,jsx}'",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/js-bits/log-in-color"
},
"author": "https://github.com/apolo-gh",
"license": "ISC",
"devDependencies": {
"@js-bits/formalinter": "^1.0.3",
"@types/jest": "^29.5.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"rimraf": "^5.0.1",
"rollup": "^3.23.1",
"typescript": "^4.8.4"
},
"jest": {
"projects": [
{
"displayName": "node",
"testEnvironment": "node"
},
{
"displayName": "jsdom",
"testEnvironment": "jsdom"
}
]
},
"prettier": "@js-bits/formalinter/.prettierrc.json",
"eslintConfig": {
"extends": "@js-bits/eslint-config/.eslintrc.json"
}
}