-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
72 lines (72 loc) · 1.9 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
{
"name": "code-fns",
"version": "0.11.0",
"description": "A library for visualizing code.",
"license": "MIT",
"type": "module",
"files": [
"lib"
],
"main": "lib/cjs/index.js",
"types": "lib/types/index.d.ts",
"module": "lib/esm/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Ross-Esmond/code-fns.git"
},
"keywords": [
"syntax",
"code",
"ast",
"highlight",
"highlighting"
],
"scripts": {
"test": "vitest run",
"test:watch": "vitest --ui",
"dev": "vite",
"build": "rm -rf lib && npm run babel:esm && npm run babel:cjs && npm run types",
"babel:esm": "babel src --config-file ./babel.esm.config.json --extensions '.ts' --out-dir 'lib/esm'",
"babel:cjs": "babel src --config-file ./babel.cjs.config.json --extensions '.ts' --out-dir 'lib/cjs'",
"types": "tsc",
"preview": "vite preview",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"lint": "eslint ./src/",
"coverage": "vitest run --coverage",
"prepare": "husky install"
},
"peerDependency": {
"vite": "*"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-typescript": "^7.18.6",
"@types/codemirror": "^5.60.7",
"@types/css": "^0.0.33",
"@types/wcwidth": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vitest/coverage-c8": "^0.29.8",
"@vitest/ui": "^0.22.1",
"eslint": "^8.23.0",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^8.0.1",
"prettier": "^2.7.1",
"typescript": "^4.6.4",
"vite": "^3.0.7",
"vitest": "^0.29.8"
},
"prettier": {
"singleQuote": true,
"printWidth": 80,
"trailingComma": "all"
},
"dependencies": {
"codemirror": "^5.65.12",
"css": "^3.0.0",
"wcwidth": "^1.0.1"
}
}