Updated libraries & testing
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    "reporters": ["default"],
 | 
						"reporters": ["default", "jest-junit"],
 | 
				
			||||||
	"roots": [
 | 
						"roots": [
 | 
				
			||||||
		"<rootDir>/tests"
 | 
							"<rootDir>/tests"
 | 
				
			||||||
	],
 | 
						],
 | 
				
			||||||
@@ -9,4 +9,8 @@ module.exports = {
 | 
				
			|||||||
	"transform": {
 | 
						"transform": {
 | 
				
			||||||
		".+\\.(ts)$": "ts-jest"
 | 
							".+\\.(ts)$": "ts-jest"
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
}
 | 
						collectCoverageFrom: [
 | 
				
			||||||
 | 
							'src/**/utils/**/*.ts',
 | 
				
			||||||
 | 
							'!src/**/utils/**/*.d.ts'
 | 
				
			||||||
 | 
						],
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										27
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								package.json
									
									
									
									
									
								
							@@ -1,32 +1,33 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "webstorage-decorators",
 | 
					  "name": "webstorage-decorators",
 | 
				
			||||||
  "version": "4.2.0",
 | 
					  "version": "4.3.0",
 | 
				
			||||||
  "description": "Decorators to sync class properties to Local/Session storage",
 | 
					  "description": "Decorators to sync class properties to Local/Session storage",
 | 
				
			||||||
  "repository": "https://github.com/ztimson/WebstorageDecorators",
 | 
					  "repository": "https://github.com/ztimson/WebstorageDecorators",
 | 
				
			||||||
  "main": "./lib/index.js",
 | 
					  "author": "Zak Timson",
 | 
				
			||||||
  "typings": "./lib/index.d.ts",
 | 
					  "license": "ISC",
 | 
				
			||||||
 | 
					  "main": "dist/index.js",
 | 
				
			||||||
 | 
					  "types": "dist/index.d.ts",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "build": "tsc",
 | 
					    "build": "tsc",
 | 
				
			||||||
    "test": "jest --verbose",
 | 
					    "test": "jest --verbose",
 | 
				
			||||||
    "test:coverage": "npx jest --verbose --coverage",
 | 
					    "test:coverage": "npx jest --verbose --coverage",
 | 
				
			||||||
    "watch": "npm run build && tsc --watch"
 | 
					    "watch": "npm run build && tsc --watch"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "files": [
 | 
					 | 
				
			||||||
    "lib"
 | 
					 | 
				
			||||||
  ],
 | 
					 | 
				
			||||||
  "keywords": [
 | 
					  "keywords": [
 | 
				
			||||||
    "Decorators",
 | 
					    "Decorators",
 | 
				
			||||||
    "LocalStorage",
 | 
					    "LocalStorage",
 | 
				
			||||||
    "SessionStorage",
 | 
					    "SessionStorage",
 | 
				
			||||||
    "WebStorage"
 | 
					    "WebStorage"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "author": "Zak Timson",
 | 
					 | 
				
			||||||
  "license": "ISC",
 | 
					 | 
				
			||||||
  "dependencies": {},
 | 
					  "dependencies": {},
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@types/jest": "^26.0.15",
 | 
					    "@types/jest": "^29.2.3",
 | 
				
			||||||
    "jest": "^26.6.0",
 | 
					    "jest": "^29.3.1",
 | 
				
			||||||
    "ts-jest": "^26.4.1",
 | 
					    "jest-junit": "^15.0.0",
 | 
				
			||||||
    "typescript": "^4.0.3"
 | 
					    "ts-jest": "^29.0.3",
 | 
				
			||||||
  }
 | 
					    "typescript": "^4.9.3"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "files": [
 | 
				
			||||||
 | 
					    "dist"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,21 +1,14 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"compilerOptions": {
 | 
						"compilerOptions": {
 | 
				
			||||||
    "target": "es2015",
 | 
					 | 
				
			||||||
    "module": "es2020",
 | 
					 | 
				
			||||||
		"declaration": true,
 | 
							"declaration": true,
 | 
				
			||||||
    "sourceMap": true,
 | 
							"declarationMap": true,
 | 
				
			||||||
    "outDir": "lib",
 | 
							"lib": ["ESNext"],
 | 
				
			||||||
 | 
							"module": "commonjs",
 | 
				
			||||||
 | 
							"outDir": "./dist",
 | 
				
			||||||
		"strict": true,
 | 
							"strict": true,
 | 
				
			||||||
    "noImplicitAny": false,
 | 
							"target": "es2015"
 | 
				
			||||||
    "moduleResolution": "node",
 | 
					 | 
				
			||||||
    "typeRoots": [
 | 
					 | 
				
			||||||
      "./node_modules/@types"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "esModuleInterop": true,
 | 
					 | 
				
			||||||
    "experimentalDecorators": true,
 | 
					 | 
				
			||||||
    "emitDecoratorMetadata": true
 | 
					 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	"include": [
 | 
						"include": [
 | 
				
			||||||
    "./src"
 | 
							"src/**/*"
 | 
				
			||||||
	]
 | 
						]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user