-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
93 lines (93 loc) · 3.28 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
{
"name": "cspace-client",
"version": "2.0.0",
"description": "CollectionSpace client for browsers and Node.js",
"author": "Ray Lee <[email protected]>",
"license": "ECL-2.0",
"keywords": [
"collectionspace",
"cspace",
"client"
],
"repository": {
"type": "git",
"url": "https://github.com/collectionspace/cspace-client.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": "npm run test-browser-specs && npm run test-browser-integration",
"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": "npm run test-node-specs && npm run test-node-integration",
"test-node-specs": "cross-env NODE_ENV=test nyc --report-dir coverage/test-node-specs mocha --require @babel/register --require test/stubs/cspaceServer --recursive --exit test/specs",
"test-node-integration": "cross-env NODE_ENV=test nyc --report-dir coverage/test-node-integration mocha --require @babel/register --file test/helpers/nodeTestSetup.js --recursive --exit test/integration"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.0",
"babel-loader": "^9.1.2",
"babel-plugin-istanbul": "^5.1.1",
"body-parser": "^1.18.3",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"cross-env": "^2.0.0",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.19.1",
"express": "^4.16.2",
"http-proxy-middleware": "^2.0.6",
"istanbul": "^0.4.5",
"karma": "^6.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"nyc": "^14.1.1",
"rimraf": "^2.6.2",
"send-data": "^8.0.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"cspace-api": "^1.0.8",
"url-join": "^1.1.0"
},
"nyc": {
"include": [
"src/**/*.js"
],
"reporter": [
"json"
],
"sourceMap": false,
"instrument": false,
"cache": true
}
}