-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
98 lines (98 loc) · 3.29 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
90
91
92
93
94
95
96
97
98
{
"name": "cspace-api",
"version": "1.0.0",
"description": "CollectionSpace services API wrapper for browsers and Node.js",
"author": "Ray Lee <rhlee@berkeley.edu>",
"license": "ECL-2.0",
"keywords": [
"collectionspace",
"cspace",
"service",
"rest",
"api"
],
"repository": {
"type": "git",
"url": "https://github.com/collectionspace/cspace-api.js.git"
},
"main": "lib/index.js",
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"build": "npm run build-cjs && npm run build-umd",
"build-cjs": "cross-env BABEL_ENV=cjs babel ./src -d lib",
"build-umd": "npm run build-umd-dev && npm run build-umd-prod",
"build-umd-dev": "webpack",
"build-umd-prod": "cross-env NODE_ENV=production webpack",
"check": "npm run lint && npm run test && npm run coverage",
"clean": "rimraf lib dist coverage",
"coverage": "istanbul report --root coverage text && istanbul report --root coverage lcov",
"lint": "eslint *.js src test examples",
"prepare": "npm run clean && npm run build",
"start": "cross-env NODE_ENV=test karma start",
"test": "npm run test-node && npm run test-browser",
"test-specs": "npm run test-node-specs && npm run test-browser-specs",
"test-integration": "npm run test-node-integration && npm run test-browser-integration",
"test-browser": "cross-env NODE_ENV=test karma start --singleRun=true",
"test-browser-specs": "cross-env NODE_ENV=test karma start --singleRun=true --dir=test/specs",
"test-browser-integration": "cross-env NODE_ENV=test karma start --singleRun=true --dir=test/integration",
"test-node": "cross-env NODE_ENV=test nyc mocha --compilers js:babel-register --recursive test",
"test-node-specs": "cross-env NODE_ENV=test nyc mocha --compilers js:babel-register --recursive test/specs",
"test-node-integration": "cross-env NODE_ENV=test nyc mocha --compilers js:babel-register --recursive test/integration"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.5",
"babel-plugin-istanbul": "^1.0.3",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.2",
"cross-env": "^2.0.0",
"deep-freeze-strict": "^1.1.1",
"documentation": "^4.0.0",
"eslint": "^3.2.2",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^1.12.0",
"eslint-plugin-jsx-a11y": "^2.0.1",
"eslint-plugin-react": "^6.0.0",
"karma": "^2.0.5",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^1.0.1",
"karma-coverage": "^1.1.2",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sauce-launcher": "^1.2.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.13",
"mocha": "^5.2.0",
"nyc": "^11.9.0",
"rimraf": "^2.6.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^3.12.0"
},
"dependencies": {
"axios": "^0.13.1",
"form-data": "^2.3.2",
"lodash": "^4.17.5",
"url-search-params": "^1.0.2"
},
"nyc": {
"include": [
"src/**/*.js"
],
"reporter": [
"json"
],
"report-dir": "./coverage/Node.js",
"sourceMap": false,
"instrument": false,
"cache": true
}
}