-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
111 lines (111 loc) · 3.09 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
{
"name": "@deepakvishwakarma/ts-util",
"description": "User utility code snippets like lodash for typescript, typescriptreact(tsx) and deno [inspired by 30-seconds-of-code].",
"version": "0.0.13",
"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",
"deploy": "GIT_USER=deepakshrma USE_SSH=true docusaurus deploy",
"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"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.58",
"@docusaurus/preset-classic": "^2.0.0-alpha.58",
"clsx": "^1.1.1",
"docusaurus-lunr-search": "^2.0.1",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run bundle && npm run code-gen && git add util.js static/util.js snippets && lint-staged"
}
},
"lint-staged": {
"*.(ts|js|html|css|md|mdx)": [
"prettier --write"
]
},
"devDependencies": {
"@types/node": "^14.0.19",
"@types/vscode": "^1.34.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"typescript": "^3.9.6",
"vsce": "^1.77.0"
},
"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"
}
]
}
}