initial commit

This commit is contained in:
Rudis Muiznieks 2020-05-09 13:06:47 -05:00
parent 820bd665cf
commit 5037c5fbff
6 changed files with 1434 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
build/
node_modules/

1394
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "spooky.js",
"version": "0.0.1",
"description": "Javascript/CSS effects to make a website spooky.",
"scripts": {
"build": "rm -rf ./build && tsc",
"pack": "browserify build/unpacked/main.js --standalone Spooky > ./build/spooky.js",
"minify": "uglifyjs build/spooky.js > build/spooky.min.js",
"make": "npm run build && npm run pack && npm run minify"
},
"dependencies": {
"core-js": "^3.6.5",
"jquery": "^3.5.1"
},
"devDependencies": {
"@types/core-js": "^2.5.3",
"@types/jquery": "^3.3.38",
"@types/node": "^13.13.5",
"browserify": "^16.5.1",
"typescript": "^3.8.3",
"uglify-js": "^3.9.2"
}
}

2
src/Spooky.ts Normal file
View File

@ -0,0 +1,2 @@
export class Spooky {
}

1
src/main.ts Normal file
View File

@ -0,0 +1 @@
module.exports = require('./Spooky.js').Spooky;

12
tsconfig.json Normal file
View File

@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["es2017.object", "dom"],
"module": "commonjs",
"moduleResolution": "node",
"baseUrl": "./src",
"outDir": "./build/unpacked",
"allowJs": true,
"strict": true
}
}