2017-07-11 10:01:36 +08:00
|
|
|
{
|
|
|
|
"name": "redux-bluetooth",
|
2017-07-27 07:51:14 +08:00
|
|
|
"version": "0.1.13",
|
2017-07-11 10:01:36 +08:00
|
|
|
"description": "Redux middleware to dispatch actions via bluetooth to a peripheral store",
|
|
|
|
"main": "build/index.js",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "watch 'npm run build' src",
|
2017-07-25 10:48:36 +08:00
|
|
|
"lint": "eslint src",
|
2017-07-11 10:01:36 +08:00
|
|
|
"build": "babel src -d build",
|
2017-07-25 10:48:36 +08:00
|
|
|
"prebuild": "npm run lint",
|
|
|
|
"test": "jest --config .jest.json",
|
2017-07-11 10:01:36 +08:00
|
|
|
"test:watch": "npm test -- --watch",
|
2017-07-17 03:27:55 +08:00
|
|
|
"test:coverage": "npm test -- --coverage",
|
2017-07-11 10:01:36 +08:00
|
|
|
"prepublish": "npm run build",
|
2017-07-27 07:25:02 +08:00
|
|
|
"bundlesize": "webpack && bundlesize",
|
|
|
|
"prerelease": "npm run bundlesize",
|
2017-07-15 12:06:26 +08:00
|
|
|
"release": "np",
|
2017-07-25 10:48:36 +08:00
|
|
|
"example:install": "npm run example:peripheral:install && npm run example:webapp:install",
|
2017-07-13 09:22:38 +08:00
|
|
|
"example:start": "npm run example:peripheral:start",
|
2017-07-13 09:17:48 +08:00
|
|
|
"example:deploy": "npm run example:webapp:deploy",
|
2017-07-15 12:00:41 +08:00
|
|
|
"example:webapp:install": "cd example/webapp && yarn install",
|
2017-07-13 22:07:29 +08:00
|
|
|
"example:webapp:build": "cd example/webapp && npm run build",
|
|
|
|
"example:webapp:deploy": "cd example/webapp && npm run deploy",
|
2017-07-15 12:00:41 +08:00
|
|
|
"example:peripheral:install": "cd example/peripheral && yarn install",
|
2017-07-13 22:07:29 +08:00
|
|
|
"example:peripheral:build": "cd example/peripheral && npm run build",
|
|
|
|
"example:peripheral:start": "cd example/peripheral && npm start",
|
2017-07-26 10:40:59 +08:00
|
|
|
"ci:test": "jest ./build/",
|
2017-07-27 07:25:02 +08:00
|
|
|
"ci:bundlesize": "npm run bundlesize",
|
2017-07-26 10:40:59 +08:00
|
|
|
"ci:report:coverage": "npm run ci:test -- --coverage && codecov -t $CODECOV_TOKEN",
|
2017-07-25 10:48:36 +08:00
|
|
|
"ci:example:build": "npm run example:webapp:install && npm run example:webapp:build"
|
2017-07-11 10:01:36 +08:00
|
|
|
},
|
|
|
|
"babel": {
|
2017-07-15 07:29:07 +08:00
|
|
|
"presets": [
|
|
|
|
"latest"
|
|
|
|
]
|
2017-07-11 10:01:36 +08:00
|
|
|
},
|
2017-07-15 12:00:41 +08:00
|
|
|
"repository": "git+ssh://git@github.com/jvallelunga/redux-bluetooth.git",
|
2017-07-11 10:01:36 +08:00
|
|
|
"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",
|
2017-07-13 12:19:13 +08:00
|
|
|
"babel-jest": "^20.0.3",
|
2017-07-27 07:25:02 +08:00
|
|
|
"babel-loader": "^7.1.1",
|
2017-07-11 10:01:36 +08:00
|
|
|
"babel-preset-latest": "^6.24.1",
|
2017-07-15 07:29:07 +08:00
|
|
|
"bundlesize": "^0.11.2",
|
2017-07-13 11:17:34 +08:00
|
|
|
"codecov": "^2.2.0",
|
2017-07-11 11:14:39 +08:00
|
|
|
"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",
|
2017-07-11 10:01:36 +08:00
|
|
|
"jest": "^20.0.4",
|
|
|
|
"np": "^2.16.0",
|
2017-07-27 07:25:02 +08:00
|
|
|
"watch": "^1.0.2",
|
|
|
|
"webpack": "^3.4.1"
|
2017-07-11 10:01:36 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"bleno": "^0.4.2",
|
2017-07-11 11:14:39 +08:00
|
|
|
"redux": "^3.7.1",
|
2017-07-11 10:01:36 +08:00
|
|
|
"text-encoding": "^0.6.4"
|
2017-07-14 12:13:06 +08:00
|
|
|
},
|
|
|
|
"bundlesize": [
|
|
|
|
{
|
2017-07-27 07:25:02 +08:00
|
|
|
"path": "dist/redux-bluetooth.webapp.js",
|
|
|
|
"maxSize": "30 Kb"
|
2017-07-14 12:13:06 +08:00
|
|
|
}
|
|
|
|
]
|
2017-07-11 10:01:36 +08:00
|
|
|
}
|