UNPKG

targaryen

Version:

Test Firebase security rules without connecting to Firebase.

86 lines (85 loc) 2.67 kB
{ "name": "targaryen", "version": "3.1.0", "description": "Test Firebase security rules without connecting to Firebase.", "bin": { "targaryen": "bin/targaryen", "targaryen-specs": "bin/targaryen" }, "main": "index.js", "directories": { "bin": "bin", "lib": "lib", "test": "test" }, "files": [ "bin", "docs", "lib", "plugins", "index.js", "USAGE.md" ], "repository": { "type": "git", "url": "https://github.com/goldibex/targaryen" }, "scripts": { "build": "nearleyc lib/parser/regexp/parser.ne -o lib/parser/regexp/parser.js", "coverage": "npm run build && istanbul cover --print detail node_modules/.bin/_mocha -- --require test/setup.js --recursive -b test/spec/", "coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "fixtures": "./bin/targaryen-specs -v -i -s test/spec/lib/parser/fixtures.json", "format": "npm run lint -- --fix", "lint": "eslint lib/ plugins/ test/ bin/targaryen", "lint:html": "(npm run -s lint -- --max-warnings 0 -f html -o lint.html && rm lint.html) || echo 'open lint.html for linting errors'", "prepare": "npm run build", "test": "npm run build && mocha -r test/setup.js test/spec/ --recursive && jasmine && node ./bin/targaryen --verbose test/integration/rules.json test/integration/tests.json", "test:unit": "mocha -r test/setup.js test/spec/ --recursive", "test:plugin:jest": "jest test/jest", "test:inspect": "node --inspect --debug-brk node_modules/.bin/_mocha -r test/setup.js test/spec/ --recursive" }, "author": "Harry Schmidt <me@goldibex.com>", "license": "ISC", "keywords": [ "firebase", "testing", "jasmine", "mocha", "chai", "security", "rules" ], "dependencies": { "cli-table": "^0.3.1", "colors": "^1.0.3", "debug": "^2.3.3", "esprima": "^1.2.2", "firebase-json": "^0.1.0", "firebase-token-generator": "^2.0.0", "lodash.flatten": "^4.4.0", "lodash.omit": "^4.5.0", "lodash.set": "^4.3.2", "minimist": "^1.1.0", "moo": "^0.4.3", "nearley": "^2.13.0", "replaceall": "^0.1.3", "request": "^2.79.0", "request-promise-native": "^1.0.3", "strip-json-comments": "^2.0.1" }, "devDependencies": { "chai": "^3.5.0", "dirty-chai": "^1.2.2", "coveralls": "^2.11.15", "eslint": "^3.9.1", "eslint-config-xo": "^0.17.0", "eslint-plugin-jest": "^21.15.1", "eslint-plugin-node": "^2.1.3", "istanbul": "^0.4.5", "jasmine": "^2.1.1", "jest": "^22.4.3", "mocha": "^2.1.0", "sinon": "^1.17.6", "sinon-chai": "^2.8.0" } }