-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
62 lines (62 loc) · 2.3 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
{
"name": "resclient",
"version": "2.5.0",
"description": "Resgate client implementing the RES-Client Protocol.",
"main": "lib/index.js",
"types": "types/index.d.ts",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"types"
],
"scripts": {
"clean": "rimraf lib dist es coverage types",
"build": "npm run clean && npm run types && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:docs",
"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:umd": "cross-env BABEL_ENV=es NODE_ENV=development node_modules/.bin/rollup src/index.js --config --sourcemap --file dist/resclient.js",
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup src/index.js --config --file dist/resclient.min.js",
"build:docs": "jsdoc2md -f ./src/class/ResClient.js -f ./src/class/ResCollection.js -f ./src/class/ResModel.js -f ./src/class/ResError.js -f ./src/def/eventCallback.js > ./docs/docs.md",
"eslint": "eslint src/**/*.js",
"jest": "jest src --coverage",
"test": "npm run eslint && npm run jest",
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"types": "npx -p typescript tsc src/index.js --declaration --allowJs --emitDeclarationOnly --outDir types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/resgateio/resclient"
},
"jest": {
"testEnvironment": "jsdom",
"testURL": "http://localhost/"
},
"author": "Samuel Jirénius <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/resgateio/resclient",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-node-resolve": "^8.4.0",
"babel-jest": "^26.6.3",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.13.0",
"jest": "^26.6.3",
"jsdoc-to-markdown": "^8.0.0",
"mock-socket": "^7.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^6.1.0",
"typescript": "^4.8.4"
},
"dependencies": {
"modapp-eventbus": "^1.8.2",
"modapp-utils": "^1.8.0"
}
}