-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
48 lines (48 loc) · 1.48 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
{
"name": "lightrpc",
"version": "1.0.1",
"description": "Bare-bones JSON-RPC client",
"repository": "https://github.com/Sekhmet/lightrpc.git",
"main": "lib/lightrpc.js",
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"lint": "eslint src tests",
"test": "jest",
"test:coverage": "jest --coverage",
"build:cjs": "cross-env BUILD_TYPE=cjs rollup -c -o lib/lightrpc.js",
"build:umd": "cross-env BUILD_TYPE=umd rollup -c -o dist/lightrpc.js",
"build:umd:min": "cross-env NODE_ENV=production BUILD_TYPE=umd rollup -c -o dist/lightrpc.min.js",
"build": "npm run build:cjs && npm run build:umd && npm run build:umd:min",
"pretest": "npm run build",
"prepublish": "npm run build"
},
"author": "Wiktor Tkaczyński <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.1.1",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-prettier": "^2.6.1",
"jest": "^23.2.0",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^3.0.5",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-uglify": "^4.0.0"
},
"dependencies": {
"cross-fetch": "^1.1.1"
},
"jest": {
"testRegex": "(/tests/.*\\.js)$"
}
}