diff --git a/package.json b/package.json index af42f63..e8c534b 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,12 @@ "prettier": "^2.4.1" }, "scripts": { - "lint": "eslint src", - "prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt && ncc build src/pre.js -o pre --source-map --license licenses.txt", - "test": "jest", + "all": "npm run format && npm run lint && npm run prepare && npm run test", "format": "prettier --write 'src/**/*.js'", "format:check": "prettier --check 'src/**/*.js'", - "all": "npm run format && npm run lint && npm run prepare && npm run test" + "lint": "eslint src", + "prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt && ncc build src/pre.js -o pre --source-map --license licenses.txt", + "test": "jest" }, "repository": { "type": "git",