This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
forked from holidayextras/jsonapi-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 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
{
"name": "@holidayextras/jsonapi-client",
"version": "1.0.0",
"description": "A clientside module designed to make it really easy to consume a json:api service.",
"keywords": [
"jsonapi",
"json:api",
"api"
],
"main": "lib/Client.js",
"author": "Oliver Rumbelow",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/holidayextras/jsonapi-client.git"
},
"dependencies": {
"async": "2.5.0",
"object-assign": "4.1.1",
"promise": "8.0.1",
"qs": "^6.2.0",
"superagent": "3.5.2"
},
"devDependencies": {
"blanket": "1.2.3",
"browserify": "14.4.0",
"coveralls": "2.13.1",
"eslint": "4.2.0",
"eslint-config-eslint": "4.0.0",
"flow-bin": "0.50.0",
"jscpd": "^0.6.1",
"jsonapi-server": "3.0.2",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-firefox-launcher": "1.0.1",
"karma-mocha": "1.3.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-sauce-launcher": "1.1.0",
"karma-spec-reporter": "0.0.31",
"mocha": "3.4.2",
"mocha-lcov-reporter": "1.3.0",
"phantomjs-prebuilt": "2.1.14",
"plato": "1.7.0",
"uglify-js": "3.0.24"
},
"engines": {
"node": ">=4.5"
},
"scripts": {
"build": "mkdir -p dist && ./node_modules/.bin/browserify lib/Client.js | ./node_modules/.bin/uglifyjs -cm -o dist/jsonapi-client.min.js 2> /dev/null && echo '✔ Assets built!'",
"build:test": "npm run build && ./node_modules/.bin/browserify -i jsonapi-server/example/server.js test/*.js -o dist/jsonapi-client-test.js && echo '✔ Test assets built!'",
"mocha": "./node_modules/mocha/bin/mocha -R spec ./test/*.js",
"prekarmalocal": "DEBUG=* node ./node_modules/jsonapi-server/example/server.js &",
"karmalocal": "sleep 1 && npm run build:test && ./node_modules/karma/bin/karma start ./karma.local.conf.js",
"postkarmalocal": "killall node",
"prekarmaremote": "DEBUG=* node ./node_modules/jsonapi-server/example/server.js &",
"karmaremote": "sleep 1 && npm run build:test && ./node_modules/karma/bin/karma start ./karma.saucelabs.conf.js || true",
"postkarmaremote": "killall node",
"karma": "npm run karmalocal && npm run karmaremote",
"test": "npm run mocha && npm run karma",
"coveralls": "./node_modules/mocha/bin/mocha --require blanket --reporter mocha-lcov-reporter ./test/*.js | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "./node_modules/mocha/bin/mocha --require blanket --reporter html-cov ./test/*.js > coverage.html",
"complexity": "./node_modules/plato/bin/plato -r -d complexity lib",
"lint": "./node_modules/.bin/eslint ./lib/* ./test/*.js --quiet && echo '✔ All good!'",
"flow": "node ./node_modules/flow-bin/cli.js && echo '✔ All good!'",
"jscpd": "jscpd --blame -p ./lib/ || echo 'Finished!'",
"ci": "npm run lint && npm run flow && npm run jscpd && npm run test"
},
"config": {
"blanket": {
"pattern": "/jsonapi-client/lib/",
"data-cover-never": [
"node_modules",
"test",
"example"
]
}
}
}