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,53 +1,54 @@
{ {
"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": { },
"type": "git", "repository": {
"url": "git+https://github.com/Aktanusa/CookieMonster.git" "type": "git",
}, "url": "git+https://github.com/Aktanusa/CookieMonster.git"
"license": "MIT", },
"author": { "license": "MIT",
"name": "Aktanusa", "author": {
"email": "chanam.geo@yahoo.com" "name": "Aktanusa",
}, "email": "chanam.geo@yahoo.com"
"contributors": [ },
{ "contributors": [
"name": "Daniël van Noord", {
"email": "13665637+DanielNoord@users.noreply.github.com" "name": "Daniël van Noord",
}, "email": "13665637+DanielNoord@users.noreply.github.com"
{ },
"name": "Aran Leite", {
"email": "hyoretsu@gmail.com", "name": "Aran Leite",
"url": "https://www.linkedin.com/in/aranleite" "email": "hyoretsu@gmail.com",
} "url": "https://www.linkedin.com/in/aranleite"
], }
"bugs": { ],
"url": "https://github.com/Aktanusa/CookieMonster/issues" "bugs": {
}, "url": "https://github.com/Aktanusa/CookieMonster/issues"
"homepage": "https://github.com/Aktanusa/CookieMonster#readme", },
"devDependencies": { "homepage": "https://github.com/Aktanusa/CookieMonster#readme",
"eslint": "^7.19.0", "devDependencies": {
"eslint-config-airbnb-base": "^14.2.1", "eslint": "^7.19.0",
"eslint-plugin-import": "^2.22.1", "eslint-config-airbnb-base": "^14.2.1",
"terser": "^5.6.0-beta" "eslint-plugin-import": "^2.22.1",
}, "terser": "^5.6.0-beta"
"ccrepo": { },
"icon": [ "ccrepo": {
10, "icon": [
0 10,
], 0
"name": "Cookie Monster" ],
} "name": "Cookie Monster"
}
} }