redux-bluetooth/package.json

92 lines
3.0 KiB
JSON

{
"name": "redux-bluetooth",
"version": "0.1.8",
"description": "Redux middleware to dispatch actions via bluetooth to a peripheral store",
"main": "build/index.js",
"scripts": {
"dev": "watch 'npm run build' src",
"eslint": "eslint src",
"tmp": "cp -R build/ .tmp",
"precopy": "if [ ! -d build ]; then npm run build; fi",
"postcopy": "find .tmp -type f -name '*.test.js' -delete",
"uglify": "uglifyjs ./.tmp/**/*.js -m -c -o bundle.js",
"preuglify": "npm run tmp",
"build": "babel src -d build",
"prebuild": "npm run eslint",
"test": "jest --config .jest.json --forceExit",
"test:bundlesize": "bundlesize",
"pretest:bundlesize": "npm run uglify",
"posttest:bundlesize": "rm -fR .tmp bundle.js",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"prepublish": "npm run build",
"release": "np",
"example:install": "npm run example:webapp:install",
"preexample:install": "npm run example:peripheral:install",
"example:start": "npm run example:peripheral:start",
"example:deploy": "npm run example:webapp:deploy",
"example:webapp:install": "cd example/webapp && yarn install",
"example:webapp:build": "cd example/webapp && npm run build",
"example:webapp:deploy": "cd example/webapp && npm run deploy",
"example:peripheral:install": "cd example/peripheral && yarn install",
"example:peripheral:build": "cd example/peripheral && npm run build",
"example:peripheral:start": "cd example/peripheral && npm start",
"test:ci": "jest --config .jest.ci.json",
"test:coverage:ci": "codecov -t $CODECOV_TOKEN",
"pretest:coverage:ci": "npm run test:coverage",
"test:bundlesize:ci": "npm run test:bundlesize",
"example:deploy:ci": "npm run example:webapp:build",
"preexample:deploy:ci": "npm run example:webapp:install"
},
"babel": {
"presets": [
"latest"
]
},
"repository": "git+ssh://git@github.com/jvallelunga/redux-bluetooth.git",
"keywords": [
"redux",
"middleware",
"bluetooth",
"iot",
"bleno",
"peripheral",
"web-bluetooth",
"central"
],
"author": "Jeronimo Vallelunga",
"license": "ISC",
"bugs": {
"url": "https://github.com/jvallelunga/redux-bluetooth/issues"
},
"homepage": "https://github.com/jvallelunga/redux-bluetooth#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-preset-latest": "^6.24.1",
"bundlesize": "^0.11.2",
"codecov": "^2.2.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"jest": "^20.0.4",
"np": "^2.16.0",
"uglify-js": "^3.0.24",
"watch": "^1.0.2"
},
"dependencies": {
"bleno": "^0.4.2",
"redux": "^3.7.1",
"redux-thunk": "^2.2.0",
"text-encoding": "^0.6.4"
},
"bundlesize": [
{
"path": "bundle.js",
"maxSize": "2 Kb"
}
]
}