Skip to content

Commit 80fcc84

Browse files
build: run es check like a lint command
1 parent e6645fe commit 80fcc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
2323
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
2424
"build": "npm-run-all -p \"build:**\"",
25-
"postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js",
2625
"clean": "del-cli dist",
2726
"commitlint": "commitlint --from=master",
2827
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
2928
"lint:js": "eslint --cache .",
3029
"lint:spelling": "cspell \"**/*.*\"",
3130
"lint:types": "tsc --pretty --noEmit",
31+
"lint:es-check": "es-check es5 dist/hmr/hotModuleReplacement.js",
3232
"lint": "npm-run-all -l -p \"lint:**\"",
3333
"fix:js": "npm run lint:js -- --fix",
3434
"fix:prettier": "npm run lint:prettier -- --write",

0 commit comments

Comments
 (0)