This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmpl.ts
87 lines (75 loc) · 1.46 KB
/
tmpl.ts
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
import { env } from "deno";
export const vscodeSettings = `{
"editor.tabSize": 2,
"typescript.tsdk": "../node_modules/typescript/lib"
}
`;
export const vscodeSettingsPath = ".vscode/settings.json";
export const gitignore = `# compiled output
/dist
/tmp
/out-tsc
/site
# dependencies
/node_modules
yarn.lock
# profiling files
chrome-profiler-events.json
speed-measure-plugin.json
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store
Thumbs.db
`;
export const gitignorePath = ".gitignore";
export const denolibjson = `{
"name": "",
"author": "",
"license": "MIT",
"repository": "",
"keywords": [],
"entry": "mod.ts"
}
`;
export const denolibjsonPath = "denolib.json";
export const modts = `console.log("Hello, World!");
`;
export const modtsPath = "mod.ts";
export const packagejson = `{}
`;
export const packagejsonPath = "package.json";
export const tsconfigjson = `{
"compilerOptions": {
"target": "esnext",
"baseUrl": ".",
"paths": {
"http://*": ["${env()["HOME"]}/.deno/deps/http/*"],
"https://*": ["${env()["HOME"]}/.deno/deps/https/*"]
},
"plugins": [{ "name": "deno_ls_plugin" }]
}
}
`;
export const tsconfigjsonPath = "tsconfig.json";