-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.65 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
{
"name": "@redneckz/hal-resource",
"version": "0.0.4",
"author": "Alexander Alexandrov",
"description": "REST+HAL client for Browser and NodeJS",
"keywords": [
"HAL",
"REST",
"fetch",
"ajax"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/redneckz/hal-resource"
},
"bugs": {
"url": "https://github.com/redneckz/hal-resource/issues"
},
"homepage": "https://github.com/redneckz/hal-resource",
"main": "lib/index.js",
"module": "es/index.js",
"browser": "dist/index.min.js",
"files": [
"src",
"lib",
"es",
"dist"
],
"dependencies": {
"regenerator-runtime": "0.12.0"
},
"devDependencies": {
"babel-cli": "~6.26.0",
"babel-core": "~6.26.3",
"babel-eslint": "~8.2.6",
"babel-jest": "~23.4.0",
"babel-plugin-external-helpers": "~6.22.0",
"babel-plugin-transform-flow-strip-types": "~6.22.0",
"babel-plugin-transform-object-rest-spread": "~6.26.0",
"babel-preset-env": "~1.7.0",
"babel-runtime": "~6.26.0",
"coveralls": "~3.0.2",
"cross-env": "~5.2.0",
"eslint": "~5.1.0",
"eslint-config-airbnb-base": "~13.0.0",
"eslint-plugin-flowtype": "~2.50.0",
"eslint-plugin-import": "~2.13.0",
"flow-bin": "~0.76.0",
"flow-copy-source": "~2.0.1",
"flow-typed": "~2.5.1",
"jest-cli": "~23.4.1",
"npm-run-all": "~4.1.3",
"rimraf": "~2.6.2",
"rollup": "~0.63.2",
"rollup-plugin-babel": "~3.0.7",
"rollup-plugin-commonjs": "~9.1.3",
"rollup-plugin-node-resolve": "~3.3.0",
"rollup-plugin-uglify": "~4.0.0"
},
"scripts": {
"prepublish": "npm run build",
"prebuild": "run-s eslint jest clean",
"build": "run-p --continue-on-error build:**",
"build:commonjs": "rollup --environment NODE_ENV:cjs -c -o lib/index.js && npm run flo -- lib || true",
"build:es": "rollup --environment NODE_ENV:es -c -o es/index.js && npm run flo -- es || true",
"build:umd": "rollup --environment NODE_ENV:development -c -o dist/index.js",
"build:umd:min": "rollup --environment NODE_ENV:production -c -o dist/index.min.js",
"flo": "flow-copy-source --ignore **/*.spec.* src",
"clean": "rimraf lib es dist coverage",
"pretest": "npm run eslint",
"test": "run-s jest coveralls",
"eslint": "eslint \"src/**/*.js\" --cache --cache-location \"./.cache\"",
"jest": "cross-env NODE_ENV=test jest",
"coveralls": "coveralls < coverage/lcov.info"
},
"jest": {
"verbose": true,
"roots": [
"<rootDir>/src"
],
"clearMocks": true,
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"lcov"
]
}
}