mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 12:44:07 +00:00
add typescript
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
282fcab4f7
commit
3bd9808f74
2
.gitignore
vendored
2
.gitignore
vendored
@ -30,3 +30,5 @@ public/uploads/*
|
||||
/coverage/
|
||||
|
||||
.vscode/settings.json
|
||||
|
||||
/dist
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -15937,6 +15937,12 @@
|
||||
"resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
|
||||
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
|
||||
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
|
||||
"dev": true
|
||||
},
|
||||
"typo-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/typo-js/-/typo-js-1.0.3.tgz",
|
||||
|
@ -110,6 +110,7 @@
|
||||
"@hackmd/idle-js": "~1.0.1",
|
||||
"@hackmd/js-sequence-diagrams": "~0.0.1-alpha.3",
|
||||
"@susisu/mte-kernel": "^2.1.0",
|
||||
"@types/node": "^10.17.14",
|
||||
"acorn": "~6.1.1",
|
||||
"babel-core": "~6.26.3",
|
||||
"babel-loader": "~7.1.4",
|
||||
@ -191,6 +192,7 @@
|
||||
"style-loader": "~0.23.1",
|
||||
"tedious": "~6.2.0",
|
||||
"turndown": "~5.0.3",
|
||||
"typescript": "^4.3.2",
|
||||
"typo-js": "^1.0.3",
|
||||
"uglifyjs-webpack-plugin": "~1.2.7",
|
||||
"url-loader": "~1.0.1",
|
||||
|
11
tsconfig.json
Normal file
11
tsconfig.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"compileOnSave": true,
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ES5",
|
||||
"outDir": "./dist/"
|
||||
},
|
||||
"include": [
|
||||
"./lib/**/*"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user