-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.39 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
{
"name": "currencyexchanges",
"version": "2.0.0",
"description": "🌐 💸 An exchange rate API using data from Forex (via exchangerate.host)",
"main": "dist/cjs/index.js",
"browser": "dist/browser/currencyexchanges-browser.js",
"module": "dist/esnext/index.js",
"exports": {
".": {
"import": "./dist/esnext/index.js",
"require": "./dist/cjs/index.js"
}
},
"repository": "https://github.com/Dannnington/node-exchangerate.git",
"author": "Daniel Hyders <git@bean.codes>",
"license": "GPL-3.0-or-later",
"private": false,
"keywords": [
"currency exchange",
"currency",
"exchange rates",
"money exchange",
"money"
],
"scripts": {
"prepublish": "yarn run build",
"build:ts": "rm -rf dist/ts-transpiled && tsc -p tsconfig.json && tsc -p cjs.tsconfig.json && ./assigntype",
"build:tsbrowser": "browserify ./dist/ts-transpiled/cjs/index.js -o dist/browser/currencyexchanges-browser.js && uglifyjs --compress --mangle -o dist/browser/currencyexchanges-min.js -- dist/browser/currencyexchanges-browser.js",
"build": "rm -rf dist/* && rm -rf dist/ && yarn build:ts && yarn build:tsbrowser"
},
"dependencies": {
"@types/node": "^16.7.10",
"cross-fetch": "^3.1.4",
"url-parse": "^1.5.3"
},
"devDependencies": {
"browserify": "^17.0.0",
"ts-node": "^10.2.1",
"uglify-js": "^3.14.1",
"yarn": "^1.22.11"
}
}