init
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# External Dependencies
|
||||||
|
node_modules
|
||||||
|
# Distributed built files
|
||||||
|
dist
|
||||||
|
# Temporary files
|
||||||
|
.cache
|
||||||
12
index.html
Normal file
12
index.html
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script src="./src/index.ts"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
18
package.json
Normal file
18
package.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "nls-parcel-dailyshit",
|
||||||
|
"version": "1.0.0-0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.html",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"start": "parcel index.html --open",
|
||||||
|
"build": "parcel build index.html"
|
||||||
|
},
|
||||||
|
"author": "Michael Werner Czechowski <mail@dailysh.it>",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"devDependencies": {
|
||||||
|
"parcel-bundler": "^1.10.3",
|
||||||
|
"sass": "^1.15.2",
|
||||||
|
"typescript": "^3.2.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
3
src/index.ts
Normal file
3
src/index.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
import main from './main';
|
||||||
|
|
||||||
|
main();
|
||||||
3
src/main.scss
Normal file
3
src/main.scss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.main {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
5
src/main.ts
Normal file
5
src/main.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import * as classes from './main.scss';
|
||||||
|
|
||||||
|
export default () => {
|
||||||
|
console.log(classes);
|
||||||
|
};
|
||||||
4338
yarn-error.log
Normal file
4338
yarn-error.log
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user