dependencies / build tasks

This commit is contained in:
Florian Dold 2020-08-03 13:44:07 +05:30
parent ef2af70a7c
commit a8f03d3dd1
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
6 changed files with 19 additions and 31 deletions

View File

@ -13,7 +13,7 @@
"author": "Florian Dold",
"license": "GPL-3.0",
"scripts": {
"compile": "rollup -c && tsc",
"compile": "tsc && rollup -c",
"pretty": "prettier --config ../../.prettierrc --write src",
"test": "tsc && ava",
"coverage": "tsc && nyc ava",
@ -28,11 +28,12 @@
"src/"
],
"devDependencies": {
"rimraf": "^3.0.2",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/node": "^14.0.27",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-terser": "^6.1.0"

View File

@ -5,15 +5,10 @@
"declaration": true,
"declarationMap": true,
"target": "ES6",
"jsx": "react",
"reactNamespace": "React",
"module": "commonjs",
"module": "ESNext",
"moduleResolution": "node",
"sourceMap": true,
"lib": [
"es6",
"dom"
],
"lib": ["es6",],
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"strict": true,
@ -26,7 +21,8 @@
"incremental": true,
"esModuleInterop": true,
"importHelpers": true,
"rootDir": "./src"
"rootDir": "./src",
"typeRoots": ["./node_modules/@types"]
},
"include": ["src/**/*"]
}

View File

@ -33,6 +33,7 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/node": "^14.0.27",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-sourcemaps": "^0.6.2",

View File

@ -19,7 +19,7 @@
"importHelpers": true,
"rootDir": "src",
"baseUrl": "./src",
"types": ["node"]
"typeRoots": ["./node_modules/@types"]
},
"include": ["src/**/*"],
"references": [

View File

@ -20,7 +20,8 @@
"incremental": true,
"esModuleInterop": true,
"importHelpers": true,
"rootDir": "./src"
"rootDir": "./src",
"typeRoots": ["./node_modules/@types"]
},
"references": [
{

View File

@ -1,9 +1,6 @@
importers:
.:
dependencies:
prettier: 2.0.5
specifiers:
prettier: ^2.0.5
specifiers: {}
packages/idb-bridge:
dependencies:
'@types/node': 14.0.27
@ -41,15 +38,17 @@ importers:
'@rollup/plugin-json': 4.1.0_rollup@2.23.0
'@rollup/plugin-node-resolve': 8.4.0_rollup@2.23.0
'@rollup/plugin-replace': 2.3.3_rollup@2.23.0
'@types/node': 14.0.27
rimraf: 3.0.2
rollup: 2.23.0
rollup-plugin-sourcemaps: 0.6.2_rollup@2.23.0
rollup-plugin-sourcemaps: 0.6.2_1bb4f16ce5b550396581a296af208cfa
rollup-plugin-terser: 6.1.0_rollup@2.23.0
specifiers:
'@rollup/plugin-commonjs': ^14.0.0
'@rollup/plugin-json': ^4.1.0
'@rollup/plugin-node-resolve': ^8.4.0
'@rollup/plugin-replace': ^2.3.3
'@types/node': ^14.0.27
rimraf: ^3.0.2
rollup: ^2.23.0
rollup-plugin-sourcemaps: ^0.6.2
@ -66,9 +65,10 @@ importers:
'@rollup/plugin-json': 4.1.0_rollup@2.23.0
'@rollup/plugin-node-resolve': 8.4.0_rollup@2.23.0
'@rollup/plugin-replace': 2.3.3_rollup@2.23.0
'@types/node': 14.0.27
rimraf: 3.0.2
rollup: 2.23.0
rollup-plugin-sourcemaps: 0.6.2_rollup@2.23.0
rollup-plugin-sourcemaps: 0.6.2_1bb4f16ce5b550396581a296af208cfa
rollup-plugin-terser: 6.1.0_rollup@2.23.0
typedoc: 0.17.8_typescript@3.9.7
typescript: 3.9.7
@ -77,6 +77,7 @@ importers:
'@rollup/plugin-json': ^4.1.0
'@rollup/plugin-node-resolve': ^8.4.0
'@rollup/plugin-replace': ^2.3.3
'@types/node': ^14.0.27
rimraf: ^3.0.2
rollup: ^2.23.0
rollup-plugin-sourcemaps: ^0.6.2
@ -3658,6 +3659,7 @@ packages:
resolution:
integrity: sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
/prettier/2.0.5:
dev: true
engines:
node: '>=10.13.0'
hasBin: true
@ -3990,19 +3992,6 @@ packages:
rollup: '>=0.31.2'
resolution:
integrity: sha512-9AwTKg3yRykwzemfLt71ySe0LvrAci+bpsOL1LaTYFk5BX4HF6X7DQfpHa74ANfSja3hyjiQkXCR8goSOnW//Q==
/rollup-plugin-sourcemaps/0.6.2_rollup@2.23.0:
dependencies:
'@rollup/pluginutils': 3.1.0_rollup@2.23.0
rollup: 2.23.0
source-map-resolve: 0.6.0
dev: true
engines:
node: '>=10.0.0'
peerDependencies:
'@types/node': '>=10.0.0'
rollup: '>=0.31.2'
resolution:
integrity: sha512-9AwTKg3yRykwzemfLt71ySe0LvrAci+bpsOL1LaTYFk5BX4HF6X7DQfpHa74ANfSja3hyjiQkXCR8goSOnW//Q==
/rollup-plugin-terser/6.1.0_rollup@2.23.0:
dependencies:
'@babel/code-frame': 7.10.4