mirror of
https://github.com/eosnetworkfoundation/mandel-eosjs.git
synced 2026-07-21 14:33:28 +00:00
linting tests and vastly improving npm bundle size
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
dist/**/*.test.*
|
||||
dist-web/
|
||||
docs/
|
||||
examples/
|
||||
scripts/
|
||||
src/
|
||||
.babelrc
|
||||
.eslintrc.json
|
||||
.github/
|
||||
.gitignore
|
||||
.idea
|
||||
.npmignore
|
||||
.npmrc.template
|
||||
.nvmrc
|
||||
.travis.yml
|
||||
CONTRIB.md
|
||||
README.md
|
||||
tsconfig.json
|
||||
tsconfig.*.json
|
||||
tslint.json
|
||||
typedoc.json
|
||||
webpack.*.js
|
||||
yarn.lock
|
||||
yarn-error.log
|
||||
+2
-3
@@ -15,8 +15,7 @@
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src/*.ts",
|
||||
"src/*.js",
|
||||
"src/tests/*.ts"
|
||||
"src/**/*.ts",
|
||||
"src/**/*.js",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.node",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"allowJs": true,
|
||||
"declaration": false
|
||||
}
|
||||
}
|
||||
+23
-22
@@ -1,24 +1,25 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "CommonJS",
|
||||
"outDir": "dist",
|
||||
"alwaysStrict": true,
|
||||
"sourceMap": false,
|
||||
"noImplicitAny": true,
|
||||
"moduleResolution": "node",
|
||||
"declaration": false,
|
||||
"downlevelIteration": true,
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src/*.ts",
|
||||
"src/*.js"
|
||||
],
|
||||
"exclude": [
|
||||
"src/*.test.ts"
|
||||
]
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "CommonJS",
|
||||
"outDir": "dist",
|
||||
"alwaysStrict": true,
|
||||
"sourceMap": false,
|
||||
"noImplicitAny": true,
|
||||
"moduleResolution": "node",
|
||||
"declaration": false,
|
||||
"downlevelIteration": true,
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.js"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/*.test.ts",
|
||||
"src/tests/"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user