core: add typescript and npm

This commit is contained in:
Trianta 2024-08-27 23:28:36 -05:00
parent 50942522fe
commit 0cbdb1f7fc
4 changed files with 66 additions and 0 deletions

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
# production
/build
# typescript
*.tsbuildinfo
next-env.d.ts

29
package-lock.json generated Normal file
View File

@ -0,0 +1,29 @@
{
"name": "trianta.dev",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "trianta.dev",
"version": "0.1.0",
"license": "MIT",
"dependencies": {
"typescript": "^5.5.4"
}
},
"node_modules/typescript": {
"version": "5.5.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
}
}
}

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "trianta.dev",
"version": "0.1.0",
"description": "My personal website",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://lab.trianta.dev/Trianta/trianta.dev.git"
},
"author": "trianta",
"license": "MIT",
"dependencies": {
"typescript": "^5.5.4"
}
}

8
tsconfig.json Normal file
View File

@ -0,0 +1,8 @@
{
"compilerOptions": {
"outDir": "./built",
"allowJs": true,
"target": "es5"
},
"include": ["./src/**/*"]
}