-
Notifications
You must be signed in to change notification settings - Fork 122
/
package.json
103 lines (103 loc) · 3.51 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
{
"name": "carbon-now-cli",
"version": "2.0.0",
"description": "Beautiful images of your code — from right inside your terminal.",
"license": "MIT",
"repository": "mixn/carbon-now-cli",
"author": {
"name": "Miloš Sutanovac",
"email": "sutanovac.milos@gmail.com",
"url": "https://mixn.io"
},
"type": "module",
"main": "dist/cli.js",
"exports": "./dist/cli.js",
"bin": {
"carbon-now": "bundle/cli.js"
},
"files": [
"bundle",
"dist",
"readme.md"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.10.0"
},
"scripts": {
"dev": "ts-node --esm --files ./cli.ts test/test-dummies/_unfold.js --start 3 --end 100 --open-in-browser --save-to ~/Desktop --save-as --interactive --preset twitter --from-clipboard",
"watch": "nodemon --exec ts-node --esm --files ./cli.ts test/test-dummies/_unfold.js --start 3 --end 100 --open-in-browser --save-to ~/Desktop --save-as foo.jpg --interactive --preset twitter --from-clipboard",
"dev:noflags": "ts-node --esm --files ./cli.ts test/test-dummies/_unfold.js",
"build": "if [ -d 'dist' ]; then trash dist; fi && tsc && trash dist/coverage && trash dist/test",
"run:build": "node dist/cli.js test/test-dummies/_unfold.js --save-to ~/Desktop --save-as buildrun",
"build-and-run": "npm run build && npm run run:build",
"bundle:build": "if [ -d 'dist' ]; then npx esbuild ./dist/cli.js --outdir=./bundle --bundle --platform=node --target=node16 --packages=external --format=esm --minify; fi",
"build-and-bundle": "npm run build && npm run bundle:build",
"run:bundle": "node bundle/cli.js test/test-dummies/_unfold.js --save-to ~/Desktop --save-as from-bundle",
"prettier": "prettier ./**/* --check",
"test:unit": "jest ./test/ --testPathIgnorePatterns ./test/e2e/ --verbose --coverage",
"test:e2e": "jest ./test/e2e/index.test.ts --runInBand --verbose --testTimeout 180000 --coverage",
"test": "npm run prettier && npm run test:unit && npm run test:e2e",
"prepare": "husky install",
"postinstall": "npx playwright install --with-deps"
},
"keywords": [
"cli",
"cli-app",
"carbon-now",
"carbon-now-sh",
"carbon-now-sh-cli",
"carbon",
"screenshot",
"beautiful"
],
"dependencies": {
"chalk": "^4.1.2",
"clipboard-sys": "^1.2.0",
"clipboardy": "^2.3.0",
"file-exists": "^5.0.1",
"file-extension": "^4.0.5",
"get-stdin": "^9.0.0",
"inquirer": "^6.5.2",
"jsonfile": "^6.1.0",
"listr2": "^8.0.1",
"lodash": "^4.17.21",
"meow": "^9.0.0",
"nanoid": "^3.3.6",
"open": "^8.4.2",
"playwright": "^1.33.0",
"@playwright/test": "^1.32.3",
"query-string": "^7.1.3",
"tempy": "^1.0.1",
"terminal-image": "^2.0.0",
"update-notifier": "^7.0.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@types/child-process-promise": "^2.2.2",
"@types/file-exists": "^5.0.0",
"@types/inquirer": "^9.0.3",
"@types/jest": "^29.5.0",
"@types/jsonfile": "^6.1.1",
"@types/lodash": "^4.14.191",
"@types/mock-fs": "^4.13.1",
"@types/update-notifier": "^6.0.2",
"child-process-promise": "^2.2.1",
"del": "^6.1.1",
"execa": "^5.1.1",
"husky": "^9.0.11",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"mock-fs": "^5.2.0",
"mock-os": "^1.0.0",
"nodemon": "^3.0.1",
"prettier": "^2.8.5",
"trash-cli": "^5.0.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "~5.5.3"
},
"yarn": {
"postinstall": "npx playwright install --with-deps"
}
}