[sandbox] Formatting and scripts
This commit is contained in:
parent
8e4564fe48
commit
711573cd20
2
sandbox/.gitignore
vendored
2
sandbox/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
node_modules
|
||||
dist
|
||||
build
|
||||
.env
|
2
sandbox/.prettierignore
Normal file
2
sandbox/.prettierignore
Normal file
@ -0,0 +1,2 @@
|
||||
build
|
||||
node_modules
|
@ -3,6 +3,5 @@
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100,
|
||||
"pluginSearchDirs": ["."]
|
||||
"printWidth": 100
|
||||
}
|
||||
|
@ -36,4 +36,4 @@ COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["node", "dist"]
|
||||
CMD ["node", "build"]
|
16
sandbox/package-lock.json
generated
16
sandbox/package-lock.json
generated
@ -17,6 +17,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"prettier": "^3.0.2",
|
||||
"typescript": "^5.1.6"
|
||||
}
|
||||
},
|
||||
@ -119,6 +120,21 @@
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
|
||||
"integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/simple-git": {
|
||||
"version": "3.19.1",
|
||||
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.19.1.tgz",
|
||||
|
@ -5,12 +5,15 @@
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
"build": "tsc",
|
||||
"format": "prettier --write .",
|
||||
"start": "node build"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"prettier": "^3.0.2",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"module": "NodeNext",
|
||||
"sourceMap": true,
|
||||
"outDir": "./dist",
|
||||
"outDir": "./build",
|
||||
"esModuleInterop": true,
|
||||
"strict": true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user