Added build-test command

This commit is contained in:
Daniël van Noord
2021-02-24 17:55:34 +01:00
parent f3617d5fc2
commit 3975032f4b

View File

@@ -1,28 +1,29 @@
{ {
"name": "cookiemonster-mod", "name": "cookiemonster-mod",
"version": "2.031.4", "version": "2.031.4",
"description": "Cookie Monster is an add-on that you can load into Cookie Clicker which offers a wide range of tools and statistics to enhance the game. It is not a cheat interface although it does offer helpers for golden cookies and such, everything can be toggled off at will to only leave how much information you want. This is a helper and everything is an option.", "description": "Cookie Monster is an add-on that you can load into Cookie Clicker which offers a wide range of tools and statistics to enhance the game. It is not a cheat interface although it does offer helpers for golden cookies and such, everything can be toggled off at will to only leave how much information you want. This is a helper and everything is an option.",
"main": "CookieMonster.js", "main": "CookieMonster.js",
"keywords": [ "keywords": [
"Cookie Clicker", "Cookie Clicker",
"javascript", "javascript",
"mod", "mod",
"Dashnet", "Dashnet",
"Orteil" "Orteil"
], ],
"scripts": { "scripts": {
"build": "npx eslint src && terser ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js -o CookieMonster.js" "build": "npx eslint src && terser ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js -o CookieMonster.js",
}, "build-test": "terser ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js -o CookieMonster.js"
"repository": { },
"repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/Aktanusa/CookieMonster.git" "url": "git+https://github.com/Aktanusa/CookieMonster.git"
}, },
"license": "MIT", "license": "MIT",
"author": { "author": {
"name": "Aktanusa", "name": "Aktanusa",
"email": "chanam.geo@yahoo.com" "email": "chanam.geo@yahoo.com"
}, },
"contributors": [ "contributors": [
{ {
"name": "Daniël van Noord", "name": "Daniël van Noord",
"email": "13665637+DanielNoord@users.noreply.github.com" "email": "13665637+DanielNoord@users.noreply.github.com"
@@ -32,22 +33,22 @@
"email": "hyoretsu@gmail.com", "email": "hyoretsu@gmail.com",
"url": "https://www.linkedin.com/in/aranleite" "url": "https://www.linkedin.com/in/aranleite"
} }
], ],
"bugs": { "bugs": {
"url": "https://github.com/Aktanusa/CookieMonster/issues" "url": "https://github.com/Aktanusa/CookieMonster/issues"
}, },
"homepage": "https://github.com/Aktanusa/CookieMonster#readme", "homepage": "https://github.com/Aktanusa/CookieMonster#readme",
"devDependencies": { "devDependencies": {
"eslint": "^7.19.0", "eslint": "^7.19.0",
"eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",
"terser": "^5.6.0-beta" "terser": "^5.6.0-beta"
}, },
"ccrepo": { "ccrepo": {
"icon": [ "icon": [
10, 10,
0 0
], ],
"name": "Cookie Monster" "name": "Cookie Monster"
} }
} }