@danielkalen/simplybind
Version:
Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.
94 lines (93 loc) • 4.81 kB
JSON
{
"name": "@danielkalen/simplybind",
"version": "1.11.0",
"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.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/(spec.coffee|spec-helper.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.js",
"compile:browser": "simplyimport -p -i src/simplybind.coffee -c browserOnly | coffee -c -b -s > dist/simplybind.pretty.js",
"compile:externs": "cat .config/closure-compiler.externs.coffee | coffee -c -b -s > .config/closure-compiler.externs",
"compile:test": "coffee -b -c -o test/ test/spec.coffee",
"minify": "npm run minify:closure && npm run minify:manual && npm run minify:uglifyjs",
"minify:basic": "cat dist/simplybind.pretty.js | uglifyjs > dist/simplybind.js && cat dist/simplybind.node.js | uglifyjs > dist/simplybind.node.ugly.js",
"minify:closure": "closure-service dist/simplybind.pretty.js > dist/simplybind.js && closure-service dist/simplybind.node.js > dist/simplybind.node.ugly.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.ugly.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.ugly.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.pretty.js",
"measure:standard-min": "echo 'Standard Minfied:' && gzipped dist/simplybind.js",
"measure:node": "echo 'Node:' && gzipped dist/simplybind.node.js",
"measure:node-min": "echo 'Node Minfied:' && gzipped dist/simplybind.node.ugly.js",
"comparison": "cd test/comparison && npm run build",
"test-serve": "live-server --port=9201 --no-browser ./",
"test": "mocha -u tdd -b test/spec-helper.js test/spec.js",
"test.travis": "npm run test && npm run test.browser:phantom",
"test.browser": "open test/testrunner.html",
"test.browser:phantom": "karma start --single-run --browsers PhantomJS .config/karma.local.conf.coffee",
"test.sauce": "coffee .config/sauce-launch.coffee",
"karma": "karma start .config/karma.local.conf.coffee",
"karma.sauce": "karma start .config/karma.sauce.conf.coffee",
"coverage": "istanbul cover --dir test/coverage/node node_modules/mocha/bin/_mocha -- -u tdd -b test/spec-helper.js test/spec.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",
"closurecompiler": "^1.6.0",
"coffee-script": "^1.10.0",
"create-output-stream": "0.0.1",
"fs-extra": "^0.30.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-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-phantomjs-launcher": "^1.0.1",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^1.0.0",
"karma-sinon": "^1.0.5",
"lcov-parse": "0.0.10",
"live-server": "^1.1.0",
"mocha": "^3.0.2",
"phantomjs-prebuilt": "^2.1.13",
"pug": "^2.0.0-beta4",
"request": "^2.74.0",
"simplyimport": "^2.3.3",
"simplywatch": "^2.3.2",
"sinon": "^1.17.5",
"svg2png": "^3.0.1",
"uglify-js": "^2.7.3"
},
"dependencies": {}
}