initial commit
This commit is contained in:
parent
820bd665cf
commit
5037c5fbff
|
@ -0,0 +1,2 @@
|
|||
build/
|
||||
node_modules/
|
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
export class Spooky {
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('./Spooky.js').Spooky;
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["es2017.object", "dom"],
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"baseUrl": "./src",
|
||||
"outDir": "./build/unpacked",
|
||||
"allowJs": true,
|
||||
"strict": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue