tk-base upgrade for es module
This commit is contained in:
parent
645a7e6340
commit
63de98abbe
|
@ -1,14 +1,11 @@
|
||||||
image: node:latest
|
image: node:latest
|
||||||
|
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
before_script:
|
||||||
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm install -D
|
|
||||||
- npm test
|
- npm test
|
||||||
|
|
3901
package-lock.json
generated
3901
package-lock.json
generated
File diff suppressed because it is too large
Load diff
16
package.json
16
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tk-serializer",
|
"name": "tk-serializer",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"description": "Typescript/Javascript serializer, with full object reconstruction",
|
"description": "Typescript/Javascript serializer, with full object reconstruction",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Michaël Lemaire",
|
"name": "Michaël Lemaire",
|
||||||
|
@ -12,21 +12,21 @@
|
||||||
},
|
},
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"source": "src/index.ts",
|
"source": "src/index.ts",
|
||||||
"main": "dist/tk-serializer.js",
|
"main": "dist/tk-serializer.umd.js",
|
||||||
"umd:main": "dist/tk-serializer.js",
|
"module": "dist/tk-serializer.modern.js",
|
||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx tk-base build",
|
"build": "npx --no-install tk-base build",
|
||||||
"test": "npx tk-base test",
|
"test": "npx --no-install tk-base test",
|
||||||
"prepare": "npm run build",
|
"prepare": "npm run build",
|
||||||
"prepublishOnly": "npm test",
|
"prepublishOnly": "npm test",
|
||||||
"normalize": "npx tk-base normalize"
|
"normalize": "npx --no-install tk-base normalize"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"/src",
|
"/src",
|
||||||
"/dist"
|
"/dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tk-base": "^0.1.7"
|
"tk-base": "^0.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noFallthroughCasesInSwitch": true,
|
"moduleResolution": "node",
|
||||||
"noImplicitReturns": true,
|
|
||||||
"preserveConstEnums": true,
|
|
||||||
"strict": true,
|
|
||||||
"declaration": true,
|
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
"strict": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"declaration": true,
|
||||||
|
"target": "es6",
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
"es6"
|
"es6"
|
||||||
],
|
]
|
||||||
"target": "es6"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue