forked from tulios/mappersmith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 4.69 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "mappersmith",
"version": "2.42.0-beta.1",
"description": "It is a lightweight rest client for node.js and the browser",
"author": "Tulio Ornelas <[email protected]>",
"contributors": [
"Daniel Alves <[email protected]>",
"Roberto Soares <[email protected]>",
"Mathias Klippinge <[email protected]>"
],
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"integration-server": "node spec/integration/server.js",
"test:browser": "yarn jest --config jestSetup/configs/config.web.json",
"test:browser:integration": "cross-env NODE_ENV=test yarn karma start spec/integration/browser/karma.conf.js",
"test:browser:watch": "yarn jest --config jestSetup/configs/config.web.json --watchAll",
"test:node": "yarn jest --config jestSetup/configs/config.node.json",
"test:node:integration": "cross-env NODE_ENV=test cross-env NODE_PATH=. cross-env JASMINE_CONFIG_PATH=spec/integration/node/support/jasmine.json ts-node node_modules/jasmine/bin/jasmine",
"test:node:watch": "yarn jest --config jestSetup/configs/config.node.json --watchAll",
"test:service-worker": "yarn jest --config jestSetup/configs/config.sw.json",
"test:service-worker:watch": "yarn jest --config jestSetup/configs/config.sw.json --watchAll",
"test:types": "yarn tsc --noEmit",
"test:types:watch": "yarn test:types --watch",
"test:unit": "concurrently --success first --names \"test,server\" --kill-others \"node scripts/ci.js\" \"yarn integration-server\"",
"test": "yarn test:types && yarn prettier --check . && yarn lint && yarn test:unit",
"build:node": "yarn babel src -d lib/ --extensions '.js,.ts' --ignore '**/*.spec.ts','**/*.spec.js','**/*.d.ts'",
"build:browser": "yarn webpack --config webpack.conf.js",
"build:typings": "yarn tsc --project tsconfig.typings.json && yarn copy:dts",
"build": "yarn copy:version:src && yarn build:node && yarn build:typings && yarn build:browser",
"build:clean": "rm -rf lib/ dist/ && yarn build",
"release": "./scripts/release.sh",
"build:project": "./scripts/build-project.sh",
"copy:dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/",
"copy:version:src": "echo {\\\"version\\\":\\\"${npm_package_version}\\\"} > src/version.json",
"lint": "yarn eslint \"{src,spec}/**/*.[j|t]s\""
},
"repository": {
"type": "git",
"url": "https://github.com/tulios/mappersmith.git"
},
"keywords": [
"rest",
"client",
"rest-client",
"isomorphic",
"browser",
"server",
"data-mapper",
"mappersmith"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/tulios/mappersmith/issues"
},
"homepage": "https://github.com/tulios/mappersmith",
"browser": {
"./lib/gateway/http.js": false,
"./src/gateway/http.js": false,
"./gateway/http.js": false
},
"volta": {
"node": "14.18.2",
"yarn": "1.22.11"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@babel/register": "<7.12.0",
"@chiragrupani/karma-chromium-edge-launcher": "^2.1.1",
"@types/jest": "^27.0.0",
"@types/node": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.0",
"babel-loader": "^8.2.2",
"babel-plugin-minify-replace": "^0.5.0",
"body-parser": "^1.19.0",
"browser-resolve": "^2.0.0",
"concurrently": "^7.0.0",
"cookie-parser": "^1.4.5",
"copyfiles": "^2.4.1",
"core-js": "^3.21.1",
"cross-env": "^7.0.3",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^17.0.0-1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"express": "^4.17.1",
"faux-jax-tulios": "^5.0.9",
"jasmine": "^4.0.0",
"jasmine-core": "^4.0.0",
"jest": "^27.0.0",
"js-md5": "^0.7.3",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^4.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-spec-reporter": "^0.0.33",
"karma-webpack": "<5.0.0",
"mockdate": "^3.0.5",
"multer": "^1.4.3",
"node-fetch": "^2.6.7",
"prettier": "^2.5.0",
"puppeteer": "^13.1.1",
"regenerator-runtime": "^0.13.9",
"ts-jest": "^27.0.0",
"ts-node": "^10.2.1",
"typescript": "^4.4.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "<5.0.0",
"webpack-cli": "^4.8.0",
"whatwg-fetch": "^3.6.2"
}
}