-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
114 lines (114 loc) · 3.22 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
106
107
108
109
110
111
112
113
114
{
"name": "@deepakvishwakarma/ts-util",
"description": "Utility library,code snippets like lodash for typescript, typescriptreact(tsx) and deno [inspired by 30-seconds-of-code].",
"version": "1.1.0",
"private": false,
"scripts": {
"prepublishOnly": "npm test && ts-node test/test.ts",
"version": "git add -A util.ts",
"postversion": "git push && git push --tags",
"tsc": "tsc",
"postpublish": "node scripts/npm.js --back",
"test": "deno test util.test.ts -c tsconfig.deno.json && node test",
"start": "docusaurus start",
"npm": "node scripts/npm.js",
"npm:publish": "node scripts/npm.js --prepare && npm run tsc && npm publish --access=public",
"bundle": "deno bundle util.ts > util.js -c tsconfig.deno.json && yes|cp util.js static/util.js",
"build": "docusaurus build",
"code-gen": "node scripts/code_snippet.js",
"swizzle": "docusaurus swizzle",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"deploy": "yarn run build && cp ads.txt ./build/ && GIT_USER=deepakshrma USE_SSH=true docusaurus deploy --skip-build",
"extension": "node scripts/vs_code.js",
"extension:publish": "node scripts/vs_code.js --publish",
"prettify": "prettier *.ts --write && prettier *.js --write && prettier docs/*.md --write",
"postinstall": "husky install"
},
"dependencies": {
"@docusaurus/core": "^3.1.1",
"@docusaurus/preset-classic": "^3.1.1",
"docusaurus-lunr-search": "^3.3.2",
"clsx": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.(ts|js|html|css|md|mdx)": [
"prettier --write"
]
},
"main": "lib/util.js",
"types": "lib/util.d.ts",
"files": [
"lib/**/*"
],
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "https://github.com/deepakshrma/30-seconds-of-typescript.git"
},
"keywords": [
"deno",
"typescript",
"javascript",
"productivity",
"utility",
"tsx"
],
"author": "deepakshrma <deepak.m.shrma@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/deepakshrma/30-seconds-of-typescript/issues"
},
"homepage": "https://github.com/deepakshrma/30-seconds-of-typescript#readme",
"icon": "assets/icon_128x128.png",
"displayName": "30 seconds of typescript and deno",
"publisher": "imdeepak",
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Snippets"
],
"contributes": {
"snippets": [
{
"language": "typescript",
"path": "./snippets/typescript.json"
},
{
"language": "typescriptreact",
"path": "./snippets/typescriptreact.json"
}
]
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"devDependencies": {
"@types/node": "^20.11.17",
"@types/vscode": "^1.86.0",
"husky": "^5.1.1",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"typescript": "^5.3.3",
"vsce": "^2.15.0"
}
}