- assets
- css
- img
- js
- source
- scss
- ts
- index.html
- Readme.md
- tsconfig.json
git config -l
git config --global core.excludesfile 'C:/Program Files/Git/.gitignore_global'
/assets/css/* /assets/js/* /node_modules
"liveSassCompile.settings.showOutputWindow": false, "liveSassCompile.settings.formats": [ { "format": "expanded", "extensionName": ".css", "savePath": "./assets/css" }, { "format": "compressed", "extensionName": ".min.css", "savePath": "./assets/css" } ]
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
npm install -g typescript
tsc --version
tsc app.ts OR tsc app.ts --watch
{ "version": "2.0.0", "tasks": [ { "label": "Union Typescript Files", "type": "shell", "windows": { "command": "{fullPath}\\vscodetool.exe", "args": [ "${workspaceRoot}", "sources\\ts", "sources\\ts\\build\\app.ts" ] }, "group": "build" } ] }
tsc init
{ "compilerOptions": { "target": "es5", "module": "System", "lib": [ "DOM", "es2015", "es5"], "types": ["jquery"], "removeComments": true, "preserveConstEnums": true, "forceConsistentCasingInFileNames": false, "rootDir": "./", "outFile": "./assets/js/app.js", "baseUrl": "./", "declaration": false }, "files": ["sources/ts/build/app.ts"], "exclude": ["node_modules", "**/*.spec.ts"] }
npm install @types/jquery --save-dev
npm init
npm install @babel/cli @babel/core @babel/polyfill @babel/preset-env --save-dev
{ "presets": ["@babel/preset-env"] }