/
package.json
48 lines (48 loc) · 1.21 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
{
"name": "kolorist",
"version": "1.5.1",
"description": "A tiny utility to colorize stdin/stdout",
"main": "dist/cjs/index.js",
"module": "dist/module/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"test": "TS_IGNORE_ERROR=true mocha -r ts-node/register --extension ts,js src/*.test.ts",
"build": "rimraf dist/ && tsc && tsc -p tsconfig.module.json && tsc -p tsconfig.esm.json && node tools/post-build.js",
"prepublishOnly": "npm run build"
},
"author": "Marvin Hagemeister <hello@marvinh.dev>",
"repository": {
"type": "git",
"url": "https://github.com/marvinhagemeister/kolorist.git"
},
"license": "MIT",
"devDependencies": {
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.35",
"mocha": "^8.3.2",
"node-pty": "^0.10.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": "./dist/module/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json",
"./*": "./*"
},
"files": [
"dist/",
"screenshot.png"
],
"prettier": {
"useTabs": true,
"arrowParens": "avoid",
"singleQuote": true
}
}