tk-base upgrade

This commit is contained in:
Michaël Lemaire 2019-11-07 23:09:01 +01:00
parent 63de98abbe
commit 9710424caf
5 changed files with 1081 additions and 430 deletions

View file

@ -3,7 +3,7 @@
# source activate_node
vdir="./.venv"
expected="10.16.3"
expected="12.13.0"
if [ \! -f "./activate_node" ]
then

View file

@ -8,6 +8,10 @@ module.exports = {
"json",
"node"
],
watchPathIgnorePatterns: [
"<rootDir>/dist/",
"<rootDir>/node_modules/",
],
restoreMocks: true,
collectCoverage: true,
collectCoverageFrom: [

1477
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -16,17 +16,28 @@
"module": "dist/tk-serializer.modern.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "npx --no-install tk-base build",
"test": "npx --no-install tk-base test",
"build": "microbundle build -f modern,umd",
"test": "jest",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"normalize": "npx --no-install tk-base normalize"
"normalize": "tk-base",
"dev": "run-p dev:*",
"dev:test": "jest --watchAll",
"dev:build": "microbundle watch -f modern,umd",
"dev:serve": "live-server --host=localhost --port=5000 --no-browser --ignorePattern='.*\\.d\\.ts' dist"
},
"files": [
"/src",
"/dist"
],
"devDependencies": {
"tk-base": "^0.2.0"
}
"tk-base": "^0.2.5"
},
"bugs": {
"url": "https://gitlab.com/thunderk/tk-serializer/issues"
},
"homepage": "https://code.thunderk.net/tslib/tk-serializer",
"keywords": [
"typescript"
]
}

View file

@ -12,5 +12,10 @@
"dom",
"es6"
]
}
},
"exclude": [
"node_modules",
"dist",
"src/**/*.test.ts"
]
}