* Barracks must get an initial state or state.location is undefined * Replaces document.addEventListener w/ pkg handling existing ready doc
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"name": "choo",
|
|
"version": "2.3.1",
|
|
"description": "A 7kb framework for creating sturdy frontend applications",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"deps": "dependency-check . && dependency-check . --extra --no-dev -i xhr",
|
|
"test:electron": "browserify tests/**/*.js -t es2020 | tape-run",
|
|
"test:cov": "browserify tests/**/*.js -t es2020 -p tape-istanbul/plugin | tape-run | tape-istanbul && istanbul report",
|
|
"test:server": "standard && npm run deps && NODE_ENV=test node tests/server/*",
|
|
"test:browser": "standard && npm run deps && NODE_ENV=test zuul tests/browser/*",
|
|
"test:browser:local": "standard && npm run deps && NODE_ENV=test zuul --local 8080 -- tests/browser/*",
|
|
"preversion": "if [ ! -z $SKIP_TEST ]; then npm run test:browser; fi",
|
|
"test": "npm run test:server"
|
|
},
|
|
"repository": "yoshuawuyts/choo",
|
|
"keywords": [
|
|
"client",
|
|
"frontend",
|
|
"framework",
|
|
"minimal",
|
|
"composable",
|
|
"tiny"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"barracks": "^7.0.3",
|
|
"document-ready": "~1.0.1",
|
|
"global": "^4.3.0",
|
|
"hash-match": "^1.0.2",
|
|
"sheet-router": "^3.1.0",
|
|
"xhr": "^2.2.0",
|
|
"xtend": "^4.0.1",
|
|
"yo-yo": "^1.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"bankai": "^2.0.2",
|
|
"browserify": "^13.0.1",
|
|
"browserify-istanbul": "^2.0.0",
|
|
"bundle-collapser": "^1.2.1",
|
|
"dependency-check": "^2.5.1",
|
|
"es2020": "^1.0.1",
|
|
"insert-css": "^0.2.0",
|
|
"istanbul": "^0.4.4",
|
|
"karma-sauce-launcher": "^1.0.0",
|
|
"min-document": "~2.18.0",
|
|
"server-router": "^2.1.0",
|
|
"sheetify": "^5.0.0",
|
|
"standard": "^7.1.0",
|
|
"tachyons": "^4.0.0-beta.19",
|
|
"tape": "^4.5.1",
|
|
"tape-istanbul": "~1.0.2",
|
|
"tape-run": "~2.1.4",
|
|
"yo-yoify": "^3.1.0",
|
|
"zuul": "toddself/zuul"
|
|
}
|
|
}
|