75 lines
2.2 KiB
JSON
75 lines
2.2 KiB
JSON
{
|
|
"name": "redux-bluetooth",
|
|
"version": "0.1.22",
|
|
"description": "Redux middleware to dispatch actions via bluetooth to a peripheral store",
|
|
"main": "build/index.js",
|
|
"scripts": {
|
|
"dev": "watch 'npm run build' src",
|
|
"lint": "eslint src",
|
|
"build": "babel src -d build",
|
|
"prebuild": "npm run lint",
|
|
"test": "jest --config .jest.json",
|
|
"test:watch": "npm test -- --watch",
|
|
"test:coverage": "npm test -- --coverage",
|
|
"test:coverage:codecov": "npm run test -- --coverage && codecov -t $CODECOV_TOKEN",
|
|
"prepublish": "npm run build",
|
|
"release": "np",
|
|
"example:install": "npm run example:peripheral:install && npm run example:webapp:install",
|
|
"example:webapp:install": "cd example/webapp && npm install",
|
|
"example:webapp:start": "cd example/webapp && npm run start",
|
|
"example:webapp:deploy": "cd example/webapp && npm run deploy",
|
|
"example:peripheral:install": "cd example/peripheral && npm install",
|
|
"example:peripheral:start": "cd example/peripheral && npm start"
|
|
},
|
|
"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": "23.6.0",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-preset-latest": "^6.24.1",
|
|
"bundlesize": "^0.11.2",
|
|
"codecov": "^2.2.0",
|
|
"eslint": "^5.15.3",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"jest": "^23.6.0",
|
|
"np": "^2.16.0",
|
|
"watch": "^1.0.2"
|
|
},
|
|
"dependencies": {
|
|
"babel-jest": "^24.5.0",
|
|
"bleno": "^0.4.2",
|
|
"redux": "^3.7.1",
|
|
"text-encoding": "^0.6.4"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "dist/redux-bluetooth.webapp.js",
|
|
"maxSize": "10 Kb"
|
|
}
|
|
]
|
|
}
|