forked from holidayextras/jsonapi-client
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.67 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.67 KB
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
{
"name": "jsonapi-client",
"version": "0.4.2",
"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": "1.5.2",
"lodash": "3.10.1",
"perry": "0.1.3",
"promise": "7.1.1",
"superagent": "1.7.1"
},
"devDependencies": {
"blanket": "1.2.1",
"browserify": "13.0.0",
"coveralls": "2.11.6",
"eslint": "0.24.0",
"jsonapi-server": "1.3.0",
"karma": "0.13.19",
"karma-chrome-launcher": "0.2.2",
"karma-firefox-launcher": "0.1.7",
"karma-mocha": "0.2.1",
"karma-phantomjs-launcher": "0.2.3",
"karma-sauce-launcher": "0.3.0",
"karma-spec-reporter": "0.0.23",
"mocha": "2.2.5",
"mocha-lcov-reporter": "0.0.2",
"phantomjs": "1.9.19",
"plato": "1.5.0",
"uglifyjs": "2.4.10"
},
"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": "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": "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!'"
},
"config": {
"blanket": {
"pattern": "/jsonapi-client\/lib/",
"data-cover-never": [
"node_modules",
"test",
"example"
]
}
}
}