{
"name": "charging-stations-simulator",
- "version": "1.1.50",
+ "version": "1.1.52",
"engines": {
"node": "16.x.x",
"npm": "8.x.x"
}
],
"main": "./dist/start.js",
+ "lint-staged": {
+ "*.{js,ts}": [
+ "prettier --write",
+ "eslint --cache --fix"
+ ]
+ },
"auto-changelog": {
"commitUrl": "https://github.com/jerome-benoit/charging-stations-simulator/commit/{id}",
"issueUrl": "https://github.com/jerome-benoit/charging-stations-simulator/issues/{id}",
"useTsNode": true
},
"scripts": {
+ "prepare": "husky install",
"prestart": "npm run build",
"start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
"start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
"build": "npm run rollup",
"build:dev": "npm run rollup -- --environment BUILD:development",
"build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
- "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
- "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
+ "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
+ "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
"format": "prettier --write .",
"import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
"test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"expect": "^27.5.1",
+ "husky": "^7.0.4",
+ "lint-staged": "^12.3.5",
"mocha": "^9.2.1",
"mochawesome": "^7.1.1",
"npm-check": "^5.9.2",
"prettier": "^2.5.1",
"release-it": "^14.12.5",
"robohydra": "^0.6.9",
- "rollup": "^2.69.0",
+ "rollup": "^2.69.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",