-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
95 lines (95 loc) · 3.14 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
{
"name": "hmkit",
"version": "13.4.0",
"description": "High Mobility SDK for Node.js",
"homepage": "https://github.com/highmobility/hmkit-node",
"bugs": "https://github.com/highmobility/hmkit-node/issues",
"engines": {
"node": ">=10.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/highmobility/hmkit-node.git"
},
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"consume": "node consumer.js",
"clean": "rimraf lib dist es coverage",
"lint": "eslint src test",
"test": "cross-env BABEL_ENV=commonjs node node_modules/jest/bin/jest.js --runInBand --no-cache",
"test:online": "cross-env TEST_ONLINE=true BABEL_ENV=commonjs node node_modules/jest/bin/jest.js --runInBand --no-cache",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build": "npm run build:commonjs && npm run build:es",
"prepare-beta": "npm run clean && npm run lint && npm test && npm run build",
"format": "prettier --write \"{src,test}/**/*.js\" ",
"generate:docs": "node commands/generateDocumentation.js",
"generate:config": "node ./commands/generateConfiguration.js"
},
"entry": "./build/bundle.js",
"files": [
"es",
"lib"
],
"jest": {
"coverageDirectory": "coverage",
"moduleFileExtensions": [
"js",
"jsx",
"node"
],
"setupFilesAfterEnv": [
"<rootDir>/test/testutils/setupTests.js",
"<rootDir>/test/testutils/unitWithValue.js",
"<rootDir>/test/testutils/timestampValue.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
},
"testRegex": "(/test/.*\\.spec.js)$",
"testResultsProcessor": "jest-bamboo-formatter"
},
"dependencies": {
"atob": "^2.1.2",
"btoa": "^1.2.1",
"hmkit-crypto": "0.10.0",
"ieee754": "^1.2.1",
"joi": "^17.4.0",
"lodash": "^4.17.21",
"lodash-fp": "^0.10.4",
"node-fetch": "^2.6.1",
"regenerator-runtime": "^0.13.7"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.14.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.14.1",
"@babel/preset-flow": "^7.13.13",
"@optimistdigital/eslint-config-rules": "^2.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"cross-env": "^7.0.3",
"dotenv": "^9.0.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.23.2",
"jest": "^26.6.3",
"jest-bamboo-formatter": "^1.0.1",
"json-loader": "^0.5.7",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"strip-indent": "^3.0.0",
"yamljs": "^0.3.0"
}
}