diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-14 18:25:30 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-14 18:25:30 +0200 |
commit | 949aa321aba733a9f345bc229040464a8520cdd8 (patch) | |
tree | 8edbc349436574a26228ff78e8a1ce9760009f79 | |
parent | 67cac128be69665783d7060f5184b5f62df30aef (diff) |
prepare for npm publish
-rw-r--r-- | .npmignore | 12 | ||||
-rw-r--r-- | gulpfile.js | 2 | ||||
-rw-r--r-- | package.json | 18 | ||||
-rw-r--r-- | tsconfig.json | 2 | ||||
-rw-r--r-- | yarn.lock | 29 |
5 files changed, 47 insertions, 16 deletions
diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..16b5b22b4 --- /dev/null +++ b/.npmignore @@ -0,0 +1,12 @@ +/articles +/packages +/npm-packages-offline-cache +/.vscode +/*.log +/contrib +/.* +/configure +/selenium +/*.json +*.tsbuildinfo + diff --git a/gulpfile.js b/gulpfile.js index 22bcfe134..0a2b2c268 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -105,7 +105,7 @@ const tsBaseArgs = { noFallthroughCasesInSwitch: true, strict: true, strictPropertyInitialization: false, - outDir: "build/src/", + outDir: "dist/node", noImplicitAny: true, allowJs: true, checkJs: true, diff --git a/package.json b/package.json index ae5e9452d..33194f892 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/tsconfig.json b/tsconfig.json index 4a2f09e87..ad2b90193 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "noFallthroughCasesInSwitch": true, "strict": true, "strictPropertyInitialization": false, - "outDir": "build/src/", + "outDir": "dist/node", "noImplicitAny": true, "allowJs": true, "checkJs": true, @@ -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" |