@danielkalen/simplybind
Version:
Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.
97 lines (96 loc) • 4.88 kB
JSON
{
"name": "@danielkalen/simplybind",
"version": "1.14.2",
"description": "Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.",
"keywords": [
"bind",
"binding",
"dom-binding",
"one-way",
"two-way"
],
"main": "dist/simplybind.node.debug.js",
"browser": {
"dist/simplybind.node.debug.js": "dist/simplybind.js",
"./debug": "dist/simplybind.debug.js"
},
"author": "danielkalen",
"repository": {
"type": "git",
"url": "https://github.com/danielkalen/simplybind"
},
"license": "MIT",
"scripts": {
"postversion": "echo \\'$(json -f package.json version)\\' > .config/.version.coffee && npm run build && cd comparison && npm run update-simplybind-suite",
"watch": "npm run watch:js & npm run watch:test",
"watch.browser": "npm run watch:js.browser & npm run watch:test",
"watch:js": "simplywatch -g 'src/*' -x 'npm run compile -s'",
"watch:js.browser": "simplywatch -g 'src/*' -x 'npm run compile:browser -s'",
"watch:test": "simplywatch -g 'test/+(test.coffee|testHelpers.js)' -x 'npm run compile:test -s'",
"build": "npm run compile && npm run minify",
"compile": "npm run compile:node && npm run compile:browser",
"compile:node": "simplyimport -p -i src/simplybind.coffee -c nodeOnly | coffee -c -b -s > dist/simplybind.node.debug.js",
"compile:browser": "simplyimport -p -i src/simplybind.coffee -c browserOnly | coffee -c -b -s > dist/simplybind.debug.js",
"compile:test": "simplyimport -p -i test/test.coffee | coffee -b -c -s > test/test.js",
"minify": "npm run minify:closure && npm run minify:manual && npm run minify:uglifyjs",
"minify:basic": "cat dist/simplybind.debug.js | uglifyjs > dist/simplybind.js && cat dist/simplybind.node.debug.js | uglifyjs > dist/simplybind.node.js",
"minify:closure": "closure-service dist/simplybind.debug.js > dist/simplybind.js && closure-service dist/simplybind.node.debug.js > dist/simplybind.node.js",
"minify:manual": "coffee .config/manual-minify.coffee",
"minify:uglifyjs": "cat dist/simplybind.js | uglifyjs -c properties,if_return > dist/simplybind.ugly.js && cat dist/simplybind.node.js | uglifyjs -c properties,if_return > dist/simplybind.node.ugly2.js && mv dist/simplybind.ugly.js dist/simplybind.js && mv dist/simplybind.node.ugly2.js dist/simplybind.node.js",
"measure": "npm run measure:standard -s && npm run measure:standard-min -s && npm run measure:node -s && npm run measure:node-min -s",
"measure:standard": "echo 'Standard:' && gzipped dist/simplybind.debug.js",
"measure:standard-min": "echo 'Standard Minfied:' && gzipped dist/simplybind.js",
"measure:node": "echo 'Node:' && gzipped dist/simplybind.node.debug.js",
"measure:node-min": "echo 'Node Minfied:' && gzipped dist/simplybind.node.js",
"comparison": "cd test/comparison && npm run build",
"test-serve": "http-server -p 9201 --cors ./",
"test": "mocha -u tdd -b test/testHelpers.js test/test.js",
"test.travis": "npm run test && npm run test.browser:electron",
"test.browser": "open test/testrunner.html",
"test.browser:electron": "karma start --single-run --browsers Electron .config/karma.local.conf.coffee",
"test.sauce": "coffee .config/sauce-launch.coffee && npm run test-serve",
"test.karma": "karma start .config/karma.local.conf.coffee",
"test.karma:sauce": "karma start .config/karma.sauce.conf.coffee",
"sauce-connect": "sc -u simplybind -k eb46ffb0-e314-4150-8618-53bcf157d0d2",
"coverage": "istanbul cover --dir coverage/node node_modules/mocha/bin/_mocha -- -u tdd -b test/testHelpers.js test/test.js && npm run coverage:badge",
"coverage:badge": "coffee .config/badge-gen.coffee"
},
"devDependencies": {
"@danielkalen/polyfills": "^1.1.0",
"@danielkalen/utils": "^1.0.0",
"chai": "^3.5.0",
"chai-spies": "^0.7.1",
"closure-compiler-service": "^0.6.1",
"coffee-script": "^1.10.0",
"create-output-stream": "0.0.1",
"electron": "^1.4.15",
"fs-extra": "^0.30.0",
"http-server": "^0.9.0",
"istanbul": "^0.4.4",
"json": "^9.0.4",
"karma": "^1.2.0",
"karma-chai": "^0.1.0",
"karma-chai-spies": "^0.1.4",
"karma-chrome-launcher": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-electron": "^5.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.1.0",
"karma-opera-launcher": "^1.0.0",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^1.0.0",
"karma-sinon": "^1.0.5",
"lcov-parse": "0.0.10",
"mocha": "^3.0.2",
"pug": "^2.0.0-beta4",
"request": "^2.74.0",
"simplyimport": "^3.3.0",
"simplywatch": "^2.4.5",
"sinon": "^1.17.5",
"svg2png": "^3.0.1",
"uglify-js": "^2.7.3"
},
"dependencies": {}
}