-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
120 lines (120 loc) · 3.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "evrythng",
"version": "6.0.5",
"description": "Official Javascript SDK for the EVRYTHNG API.",
"main": "./dist/evrythng.node.js",
"scripts": {
"lint": "eslint --fix --max-warnings 0 --ext .js .",
"format": "./node_modules/.bin/prettier --write '**/*.{js,json,md,yaml,yml}'",
"build": "webpack --config webpack.config.js --mode production",
"build-dev": "webpack --config webpack.config.js --mode development",
"show-notice": "echo '\n New to evrythng.js v6? Make sure to read the migration guide:\n https://developers.evrythng.com/docs/evrythngjs-v600\n'",
"postinstall": "npm run --silent show-notice",
"test": "mocha test/integration/**.spec.js",
"test:unit": "mocha --require esm test/unit/**.spec.js",
"test:e2e": "mocha test/e2e/**.spec.js",
"prepublishOnly": "npm run build && npm test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -p false"
}
},
"lint-staged": {
"*.{js,json,md,yaml,yml}": "prettier --write",
"*.js": "eslint --fix"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true,
"mocha": true
},
"extends": [
"standard"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"eqeqeq": [
0,
"smart"
],
"no-unused-expressions": "off",
"no-prototype-builtins": "off",
"prefer-promise-reject-errors": "off",
"operator-linebreak": "off"
}
},
"eslintIgnore": [
"node_modules",
"reports",
"mochawesome-report",
".nyc_output",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/evrythng/evrythng.js.git"
},
"keywords": [
"evrythng",
"iot",
"wot",
"internet of things",
"web of things"
],
"author": "EVRYTHNG Ltd. <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/evrythng/evrythng.js/issues"
},
"homepage": "https://github.com/evrythng/evrythng.js#readme",
"dependencies": {
"@babel/runtime": "^7.4.3",
"cross-fetch": "^3.0.6",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.11.5",
"acorn": "^6.4.1",
"ajv": "^6.10.0",
"babel-loader": "^8.0.5",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chance": "^1.1.7",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"esm": "^3.2.25",
"fetch-mock": "^9.10.7",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"lodash-es": "^4.17.15",
"mocha": "^9.1.3",
"nock": "^11.3.3",
"prettier": "^2.2.1",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
},
"standard": {
"globals": [
"fetch",
"Response",
"FormData"
],
"env": [
"mocha"
]
}
}