diff --git a/package-lock.json b/package-lock.json index 46a37a4..055fe73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@namics/stylelint-bem", - "version": "5.1.1", + "version": "6.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3969,6 +3969,12 @@ "semver": "^5.3.0" } }, + "normalize-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-newline/-/normalize-newline-3.0.0.tgz", + "integrity": "sha1-HL6oBKukNgAfg5OKsh7AOdaa6dM=", + "dev": true + }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", @@ -4339,6 +4345,17 @@ "find-up": "^2.1.0" } }, + "pkg-ok": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/pkg-ok/-/pkg-ok-2.3.1.tgz", + "integrity": "sha512-ObdQTDZO+zUJpljXM5HZdx+354o5qbQUs05oilAp2WisGoAmFw80y4RKMduZOmGpuXV1DWJ7PkZnkybd8QB68g==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "meow": "^5.0.0", + "normalize-newline": "^3.0.0" + } + }, "please-upgrade-node": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", diff --git a/package.json b/package.json index 0a186f7..0e65d90 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "lint": "eslint .", - "prepublishOnly": "npm test", + "prepublishOnly": "npm test && pkg-ok", "pretest": "npm run lint", "test": "node test" }, @@ -54,6 +54,7 @@ "eslint-plugin-import": "2.17.2", "husky": "2.1.0", "lint-staged": "8.1.5", + "pkg-ok": "2.3.1", "stylelint": "10.0.1", "stylelint-test-rule-tape": "0.2.0" },