UNPKG

caffeine-mc

Version:

Select, configure and extend your to-JavaScript compiler, with arbitrary code, on a per file bases from within the file.

76 lines (75 loc) 2.74 kB
{ "author": "Shane Brinkman-Davis Delamore", "bin": { "caf": "caf" }, "bugs": "https:/github.com/caffeine-suite/caffeine-suite/issues", "dependencies": { "@art-suite/source-root-finder": "^1.0.7", "art-class-system": "^1.11.16", "art-standard-lib": "^1.73.1", "caffeine-eight": "^3.0.5", "cardinal": "^2.0.0", "colors": "^1.1.2", "commander": "^6.2.1", "fs-extra": "^11.2.0", "glob": "^11", "loader-utils": "^2.0.0", "neptune-namespaces-runtime": "^3.2.8", "prettier": "^2.8.8", "source-map-support": "^0.5.19" }, "description": "Select, configure and extend your to-JavaScript compiler, with arbitrary code, on a per file bases from within the file.", "devDependencies": { "art-build-configurator": "^1.30.3", "art-testbench": "^3.2.2", "chai": "^4.2.0", "mocha": "^7.2.0", "mock-fs": "^5.0.0" }, "homepage": "https://github.com/caffeine-suite/caffeine-suite", "jest": { "collectCoverageFrom": [ "build/**/*.js", "!build/test/**/*.js" ], "coveragePathIgnorePatterns": [ "/index.js$", "/namespace.js$" ], "testEnvironment": "node", "testPathIgnorePatterns": [ "/node_modules/", "<rootDir>/test" ], "verbose": true }, "license": "ISC", "name": "caffeine-mc", "repository": { "type": "git", "url": "https://github.com/caffeine-suite/caffeine-suite.git" }, "scripts": { "build": "rsync -av --include='*.js' --include='*.css' --exclude='*' ./source/ ./build/\ncoffee -m --output build --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn", "build-clean": "# BUILD CLEAN START\n# - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --include='*.js' --include='*.css' --exclude='*' ./source/ ./build/\ncoffee -m --output build-temp --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build-temp --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n# - replace old build in: build\n# - with new build from: build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__", "build-watch": "nodemon -e js,ts,jsx,tsx,caf,coffee,json -i \"build/**\" -x npm run build", "clean": "rm -rf build/*", "nn": "nn build/* ", "test": "jest", "test-watch": "jest --watch" }, "version": "3.5.4", "watch": { "build": { "extensions": [ "caf", "coffee" ], "patterns": [ "source-source" ], "quiet": false } } }