create-sinix-app
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -7,2 +7,3 @@ #!/usr/bin/env node | ||
const cli = cac("create-sinix-app") | ||
const { version } = require("../package.json") | ||
@@ -17,2 +18,3 @@ cli | ||
} else { | ||
console.log(`Created using create-sinix-app v${version}`) | ||
console.log(` | ||
@@ -19,0 +21,0 @@ $ cd ${outDir} |
{ | ||
"name": "create-sinix-app", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Create a game for Sinix in seconds", | ||
@@ -11,3 +11,5 @@ "bin": "lib/cli.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix" | ||
}, | ||
@@ -30,5 +32,12 @@ "repository": { | ||
"cac": "^6.6.1", | ||
"ncp": "^2.0.0", | ||
"scaffe": "^0.1.4" | ||
"scaffe": "^0.1.5" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.15.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.1.0" | ||
} | ||
} |
@@ -5,18 +5,13 @@ { | ||
"description": "A Sinix App", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "sirv public", | ||
"dev": "rollup -c -w", | ||
"sinix": "sinix" | ||
"dev": "snowpack dev --open none", | ||
"build": "snowpack build && sinix build" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"rollup": "^2.27.0" | ||
"snowpack": "^2.13.3" | ||
}, | ||
"dependencies": { | ||
"rollup-plugin-livereload": "^2.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"sirv-cli": "^1.0.6", | ||
"sinix": "^0.1.5" | ||
} | ||
} |
module.exports = { | ||
"distDir": "public/" | ||
"distDir": "build/" | ||
} |
@@ -194,5 +194,6 @@ const keys = {} | ||
const update = () => { | ||
ctx.clearRect(0, 0, canvas.width, canvas.height); | ||
ctx.clearRect(0, 0, canvas.width, canvas.height) | ||
let mainLoop = window.requestAnimationFrame(update); | ||
// eslint-disable-next-line | ||
let mainLoop = window.requestAnimationFrame(update) | ||
@@ -199,0 +200,0 @@ game.update() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2
0
0
6890
6
203
- Removedncp@^2.0.0
- Removedncp@2.0.0(transitive)
Updatedscaffe@^0.1.5