prepare for npm publish

This commit is contained in:
Florian Dold 2019-08-14 18:25:30 +02:00
parent 67cac128be
commit 949aa321ab
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
5 changed files with 47 additions and 16 deletions

12
.npmignore Normal file
View File

@ -0,0 +1,12 @@
/articles
/packages
/npm-packages-offline-cache
/.vscode
/*.log
/contrib
/.*
/configure
/selenium
/*.json
*.tsbuildinfo

View File

@ -105,7 +105,7 @@ const tsBaseArgs = {
noFallthroughCasesInSwitch: true,
strict: true,
strictPropertyInitialization: false,
outDir: "build/src/",
outDir: "dist/node",
noImplicitAny: true,
allowJs: true,
checkJs: true,

View File

@ -1,26 +1,14 @@
{
"name": "taler-wallet",
"version": "0.0.0",
"version": "0.0.1",
"description": "",
"main": "wxwallet.js",
"scripts": {
"test": "mocha --delay",
"test-cover": "istanbul cover -x libwrapper.js _mocha -- --delay"
},
"repository": {
"type": "git",
"url": "git://git.taler.net/wallet.git"
},
"author": "",
"author": "Florian Dold",
"license": "GPL-3.0",
"nyc": {
"exclude": [
"emscripten"
],
"include": [
"build/src/**/*.js"
]
},
"devDependencies": {
"@types/moment": "^2.13.0",
"@types/react": "^16.4.0",
@ -42,6 +30,7 @@
"pogen": "^0.0.5",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"rollup": "^1.19.4",
"structured-clone": "^0.2.2",
"terser-webpack-plugin": "^1.2.3",
"through2": "2.0.1",
@ -60,6 +49,7 @@
"dependencies": {
"axios": "^0.19.0",
"commander": "^2.20.0",
"idb-bridge": "^0.0.1",
"source-map-support": "^0.5.12"
}
}

View File

@ -15,7 +15,7 @@
"noFallthroughCasesInSwitch": true,
"strict": true,
"strictPropertyInitialization": false,
"outDir": "build/src/",
"outDir": "dist/node",
"noImplicitAny": true,
"allowJs": true,
"checkJs": true,

View File

@ -325,6 +325,11 @@
dependencies:
arrify "^1.0.1"
"@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
"@types/events@*":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
@ -385,6 +390,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.12.0.tgz#ec5594728811dc2797e42396cfcdf786f2052c12"
integrity sha512-Lg00egj78gM+4aE0Erw05cuDbvX9sLJbaaPwwRtdCdAMnIudqrQZ0oZX98Ek0yiSK/A2nubHgJfvII/rTT2Dwg==
"@types/node@^12.6.9":
version "12.7.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.1.tgz#3b5c3a26393c19b400844ac422bd0f631a94d69d"
integrity sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw==
"@types/prop-types@*":
version "15.7.0"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.0.tgz#4c48fed958d6dcf9487195a0ef6456d5f6e0163a"
@ -597,6 +607,11 @@ acorn@^6.0.5, acorn@^6.0.7:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f"
integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==
acorn@^6.2.1:
version "6.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
ajv-errors@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d"
@ -3201,6 +3216,11 @@ iconv-lite@^0.4.4, iconv-lite@~0.4.13:
dependencies:
safer-buffer ">= 2.1.2 < 3"
idb-bridge@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/idb-bridge/-/idb-bridge-0.0.1.tgz#4498704b79f354dcd3a628825656967939003614"
integrity sha512-GTFqRkjFk4C98zvPA65cKpB1JnBt+bFftn+Kkwucoy+hLmxVfdmbwZ6hj2ZieBHOppMtRs0il3zbzSzLofWrDg==
ieee754@^1.1.4:
version "1.1.13"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
@ -5516,6 +5536,15 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0"
inherits "^2.0.1"
rollup@^1.19.4:
version "1.19.4"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.19.4.tgz#0cb4e4d6fa127adab59b11d0be50e8dd1c78123a"
integrity sha512-G24w409GNj7i/Yam2cQla6qV2k6Nug8bD2DZg9v63QX/cH/dEdbNJg8H4lUm5M1bRpPKRUC465Rm9H51JTKOfQ==
dependencies:
"@types/estree" "0.0.39"
"@types/node" "^12.6.9"
acorn "^6.2.1"
run-queue@^1.0.0, run-queue@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47"