{"versions":{"0.0.7":{"name":"encode-fe-lint","version":"0.0.7","description":"印客教育前端编码规范工程化脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^0.0.7","encode-fe-eslint-config":"^0.0.7","encode-fe-markdownlint-config":"^0.0.7","encode-fe-stylelint-config":"^0.0.7","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"41ab00dfd58af511d3ed6629a6e80d5ca51850a0","types":"./lib/index.d.ts","_id":"encode-fe-lint@0.0.7","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-3v+AcAt62xd51ahxpjgiICiSeQQUggVaFDNte1nQNcE2HSdb3IyEZ4UcW+BDgCeHBf7MEbTQPpxr+g8il6880A==","shasum":"69b17f640a7de6b380fbd2cc6dbc3deb5eaa5c9f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-0.0.7.tgz","fileCount":40,"unpackedSize":81764,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClsgXXF9R/lsUmRQqKIBu5P6z5qCmZHT4xtc0ggmsLsgIhAJ4h+CcdBxe3SImQiS1epbi1XO38ATQdFDfeQnsbLuAM"}],"size":17096},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_0.0.7_1686459269512_0.7684939696555928"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-11T04:54:29.707Z","publish_time":1686459269707,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"encode-fe-lint","version":"1.0.0","description":"印客教育前端编码规范工程化脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^1.0.0","encode-fe-eslint-config":"^1.0.0","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"080349efe774c29ee7a85ae90813a8c5aa194da0","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.0","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-pzGkkj/WWhiSK14gBowJyUTLFM57Al8stU8RAmZY7pexTb8XXamyZC3jA0dGQF4IMbEK+2b7YTCYAB/3MY1rFg==","shasum":"8662f8e424cf63a874e16e7d194f072a8cbfb7c4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.0.tgz","fileCount":76,"unpackedSize":143235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBbYJo4G1r/AyebyIIwSrnYlJYL6xV0nWTD3dDJ4JpLAIgO1Mabs93N2cBzqxZXBTrBYYOOCfF2Vgre0X7IMgXAYE="}],"size":26017},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.0_1686461802008_0.7803798818388066"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-11T05:36:42.206Z","publish_time":1686461802206,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"encode-fe-lint","version":"1.0.1","description":"印客教育前端编码规范工程化脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^1.0.0","encode-fe-eslint-config":"^1.0.0","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"af2c57f5d6e4c8ff69ed90b4c736cebd0dfc105d","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.1","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-B+71X7srY5hMCAR1NqgJ5+bBHiStnJH/UvDUsvoVKDFuCTYrD9EqcbNhIlpvQldfax2Lcrff4DHrYae0EfmLNg==","shasum":"7002367ec2d13d656563506a833c389810d1e22f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.1.tgz","fileCount":76,"unpackedSize":143235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH74NsUWR5ntETROdZrLIpyKv9ilFj3PhfM5HyYZKmFIAiEAuHfdLVjjpApirMfiC7sNNnZH3kp4q9zXY2ojK7Ee1ik="}],"size":26020},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.1_1686461888472_0.38756370581958866"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-11T05:38:08.661Z","publish_time":1686461888661,"_source_registry_name":"default","contributors":[]},"1.0.3":{"name":"encode-fe-lint","version":"1.0.3","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^1.0.0","encode-fe-eslint-config":"^1.0.0","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"6bca054fe73db747a15c6aa56fb9f895ebf4d0b3","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.3","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-ZTma7bTcZSchjAM+G6oQ4gXQqpviZ5R9S1r2LJo3ma02dSNUr4+yQQG0yKS+nPW6HJfCiLVwsQddLoqVI7IO4A==","shasum":"561083c73565f6f6212ce055ac55ba7cc03ebb36","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.3.tgz","fileCount":76,"unpackedSize":143383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7+ci34gd7X4vV7l6dsJSOJ0S8+xryoCQK40RBjMkolwIgCfufKHts+xThDspdjhiXRq5FlVmOcdRJdshBKPKZBJA="}],"size":26014},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.3_1686673618022_0.44761452667043233"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-13T16:26:58.160Z","publish_time":1686673618160,"_source_registry_name":"default","contributors":[]},"1.0.4":{"name":"encode-fe-lint","version":"1.0.4","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"workspace:^","encode-fe-eslint-config":"workspace:^","encode-fe-markdownlint-config":"workspace:^","encode-fe-stylelint-config":"workspace:^","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"types":"./lib/index.d.ts","gitHead":"4d9fc9c9670bd321018308721e53242f1777a4d8","_id":"encode-fe-lint@1.0.4","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-RtlNx13N2LT0qToVNFGKnGQNj8KMZBQucv30VXyfW3lnO6RedPhPmkM4cYLKLFO+pWwaYzs/1MUzwFzTU39DFQ==","shasum":"81cc7a6f70ff2cb9e92515d4e3750d315ad58809","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.4.tgz","fileCount":74,"unpackedSize":137185,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0o7IyhVuCWPMFzvpR5PqpkQWP8ceAKXfYdmMinhgJhAIhAJ88pXR/GTS9jfr2KACqV4BE8zNQjrQ5wmG5kxCJVebZ"}],"size":24721},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.4_1697634968399_0.5744441747709381"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T13:16:08.609Z","publish_time":1697634968609,"_source_registry_name":"default","contributors":[]},"1.0.5":{"name":"encode-fe-lint","version":"1.0.5","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^1.0.0","encode-fe-eslint-config":"^1.0.0","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"ea1cfe68ac786d41b4fff677d9a2a9ea6c6a50f5","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.5","_nodeVersion":"18.14.0","_npmVersion":"lerna/6.6.2/node@v18.14.0+x64 (win32)","dist":{"integrity":"sha512-x232R9RddRXYEFBjEVMedfIw75WydW/S8nmSVqyKYk0lbm6Jv0Vt276TD8oLNRaG4mJMKfEl0bhjiW4lcRlvhA==","shasum":"d74ba1826619926c068b6c2e8938a67921c17e3e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.5.tgz","fileCount":76,"unpackedSize":143262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCErs9GdNDlciP+HenvkrKBQvB7d/UU/R3/VlQTUcTu7wIgErFy1Lm3/jss4oNBbGIEd5XIKMqD/L1kyQ0BEeXkuII="}],"size":26041},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.5_1697635312633_0.12372192038048069"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T13:21:52.892Z","publish_time":1697635312892,"_source_registry_name":"default","contributors":[]},"1.0.6":{"name":"encode-fe-lint","version":"1.0.6","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-commitlint-config":"^1.0.0","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-encode":"^1.0.6","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"cc1d3302696f9e22182df35ba96dba581a072eae","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.6","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-hzIxsA9yTuuLeiVWyPgIzX/hCCQD4NMDSPgfJbb7AziRLwk6eHZGE9xryduxY0EjcuFD/z7jmeN18mCarqUG7A==","shasum":"74bc62a070019fcdeee87da8e5a4aa09ad744825","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.6.tgz","fileCount":76,"unpackedSize":143235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPzAU2bakNfzr/2v1P9DtJDskUmA5lUBa0S9m3DuR66AIgUES7z+lec7EECNPMyX2lUB7lWEITicKQ+X3mT4BLRmA="}],"size":26048},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.6_1698068843978_0.9951868645713577"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-23T13:47:24.165Z","publish_time":1698068844165,"_source_registry_name":"default","contributors":[]},"1.0.7":{"name":"encode-fe-lint","version":"1.0.7","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","commitlint-config-encode":"^1.0.7","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-markdownlint-config":"^1.0.0","encode-fe-stylelint-config":"^1.0.0","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-encode":"^1.0.6","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"bb00cf440fcdd6a583cdda2254e9ed6d7f0390ab","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.7","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-ezrKnoGHi+37rkLbvA2JllE3hShbJPqJRoiMUlVTGPNSSFRGViSC1sfAzcYZYl46yC5BKGY3mcGQPH+JVMzCKw==","shasum":"872ca17c10789be24ef03fcc4b45bb9cd8644c24","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.7.tgz","fileCount":76,"unpackedSize":142828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3ijalb9+qGPZnCtLg0yTzSg449xxxxcBFm68Ch2sVYAiBO3pWkh5tbpxjwszQXew7r1ED5+ZTao5+j67d8hvCeaA=="}],"size":26018},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.7_1698241311511_0.46787957266679747"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-25T13:41:51.774Z","publish_time":1698241311774,"_source_registry_name":"default","contributors":[]},"1.0.8":{"name":"encode-fe-lint","version":"1.0.8","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","commitlint-config-encode":"^1.0.8","cross-spawn":"^7.0.3","ejs":"^3.1.5","encode-fe-stylelint-config":"^1.0.8","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-encode":"^1.0.8","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-config-encode":"^1.0.8","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"f62d3614141362dd5606bd6d32d9b013b5ebf431","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.8","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-D8vULvplRii7uEMNzyNElhbGq0w5YVbKGiQnRKSNhVo1ccCirCaTcEzUGNP0MPi1Y6WbT13501046bLRt8mM7w==","shasum":"760a9b7e28aeca01319904881932fb04d7e95f4f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.8.tgz","fileCount":76,"unpackedSize":142776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKALFyfZZiRfvAgZy+ue3oSHoBknA0QLt35nP+c6ByKAiEAlOEl0sPM6tQnuXqJWpI640pHWHhwIKRb/iadHUGqGlI="}],"size":25992},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.8_1698247384273_0.632672170657474"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-25T15:23:04.499Z","publish_time":1698247384499,"_source_registry_name":"default","contributors":[]},"1.0.9":{"name":"encode-fe-lint","version":"1.0.9","description":"印客教育前端编码规范工程化标准脚手架","bin":{"encode-fe-lint":"lib/cli.js"},"main":"./lib/index.js","scripts":{"dev":"npm run copyfiles && tsc -w","build":"rm -rf lib && npm run copyfiles && tsc","copyfiles":"copyfiles -a -u 1 \"src/config/**\" lib","test":"npm run build && jest","coverage":"nyc jest --silent --forceExit","prepublishOnly":"npm run test"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"keywords":["encode","lint","cli"],"devDependencies":{"@types/command-exists":"^1.2.0","@types/cross-spawn":"^6.0.2","@types/ejs":"^3.1.0","@types/eslint":"^8.4.1","@types/fs-extra":"^9.0.13","@types/glob":"^7.2.0","@types/lodash":"^4.14.180","@types/node":"^14.14.11","@types/prettier":"^2.4.4","@types/stylelint":"^14.0.0","@types/text-table":"^0.2.2","copyfiles":"^2.4.1","jest":"^27.5.1","nyc":"^15.1.0","typescript":"^4.6.2"},"dependencies":{"@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/preset-react":"^7.16.0","@commitlint/cli":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","chalk":"^4.1.0","command-exists":"^1.2.9","commander":"^6.2.1","commitlint-config-encode":"^1.0.8","cross-spawn":"^7.0.3","ejs":"^3.1.5","eslint":"^8.7.0","eslint-config-egg":"^10.0.0","eslint-config-encode":"^1.0.8","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-vue":"^7.3.0","execa":"^5.0.0","fast-glob":"^3.2.11","fs-extra":"^9.0.1","glob":"^7.1.6","husky":"^3.1.0","inquirer":"^7.3.3","is-docker":"^2.1.1","lodash":"^4.17.20","markdownlint":"^0.25.1","markdownlint-config-encode":"^1.0.8","markdownlint-rule-helpers":"^0.13.0","ora":"^5.1.0","prettier":"^2.2.1","strip-ansi":"^6.0.0","stylelint":"^14.3.0","stylelint-config-encode":"^1.0.9","stylelint-scss":"^4.1.0","terminal-link":"^2.1.1","text-table":"^0.2.0","vue-eslint-parser":"^7.3.0"},"author":{"name":"chenghuai"},"homepage":"https://github.com/encode-studio-fe/fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/encode-studio-fe/fe-spec.git"},"bugs":{"url":"https://github.com/encode-studio-fe/fe-spec/issues"},"gitHead":"e780500dabff730e1c7e58d7f953f4ccf9656c34","types":"./lib/index.d.ts","_id":"encode-fe-lint@1.0.9","_nodeVersion":"16.18.0","_npmVersion":"lerna/6.6.2/node@v16.18.0+x64 (win32)","dist":{"integrity":"sha512-DxgQORvBBcAupZHQz2MrayR2wjXwymh2CdpnHZD/rNdGpUe81XaElLxvOBIKxE6J6mfNxKhIvlcG1vrP+O7PGA==","shasum":"217b96251d6ea1f9dbfecada956744ce884852f3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/encode-fe-lint/-/encode-fe-lint-1.0.9.tgz","fileCount":76,"unpackedSize":142752,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiq04j34OV9H5/i2/vchQu9BR3h7uwbkDerQvAYHTbiAIgVeStRPFRcmXUVqvExAohGwg9nDCdj5JZ6x9JloENuRY="}],"size":25976},"_npmUser":{"name":"anonymous","email":"encode_studio@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"encode_studio@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-fe-lint_1.0.9_1698248813847_0.39680908944436766"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-25T15:46:54.127Z","publish_time":1698248814127,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.9"},"name":"encode-fe-lint","time":{"created":"2023-06-11T04:54:33.632Z","modified":"2023-10-25T16:16:01.628Z","0.0.7":"2023-06-11T04:54:29.707Z","1.0.0":"2023-06-11T05:36:42.206Z","1.0.1":"2023-06-11T05:38:08.661Z","1.0.3":"2023-06-13T16:26:58.160Z","1.0.4":"2023-10-18T13:16:08.609Z","1.0.5":"2023-10-18T13:21:52.892Z","1.0.6":"2023-10-23T13:47:24.165Z","1.0.7":"2023-10-25T13:41:51.774Z","1.0.8":"2023-10-25T15:23:04.499Z","1.0.9":"2023-10-25T15:46:54.127Z"},"readme":"# encode-fe-lint\r\n\r\n`encode-fe-lint` 是[印客学院 前端编码规范工程化](https://encode-studio-fe.github.io/fe-spec/)的配套 Lint 工具，可以为项目一键接入规范、一键扫描和修复规范问题，保障项目的编码规范和代码质量。\r\n\r\n## 背景\r\n\r\n我们引入了多个业界流行的 Linter，并根据规范内容定制了规则包，它们包括：\r\n\r\n| 规范                                                              | Lint 工具                                                  | npm 包                                                                                 |\r\n| ----------------------------------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------- |\r\n| JavaScript 编码规范 <br/> TypeScript 编码规范 <br/> Node 编码规范 | [ESLint](https://eslint.org/)                              | [eslint-config-encode](https://www.npmjs.com/package/eslint-config-encode)             |\r\n| CSS 编码规范                                                      | [stylelint](https://stylelint.io/)                         | [stylelint-config-encode](https://www.npmjs.com/package/stylelint-config-encode) |\r\n| Git 规范                                                          | [commitlint](https://commitlint.js.org/#/)                 | [commitlint-config-encode](https://www.npmjs.com/package/commitlint-config-encode)     |\r\n| 文档规范                                                          | [markdownlint](https://github.com/DavidAnson/markdownlint) | [markdownlint-config-encode](https://www.npmjs.com/package/markdownlint-config-encode) |\r\n\r\n可以看到这些 `Linter` 和规则包众多且零散，全部安装它们会给项目增加十几个依赖，接入和升级成本都比较高。\r\n\r\n`encode-fe-lint` 收敛屏蔽了这些依赖和配置细节，提供简单的 CLI 和 Node.js API，让项目能够一键接入、一键扫描、一键修复、一键升级，并为项目配置 git commit 卡口，降低项目接入规范的成本。\r\n\r\n## CLI 使用\r\n\r\n### 安装\r\n\r\n在终端执行：\r\n\r\n```bash\r\nnpm install encode-fe-lint -g\r\n```\r\n\r\n安装完成后，可执行 `encode-fe-lint -h` 以验证安装成功。\r\n\r\n### 使用\r\n\r\n#### `encode-fe-lint init`：一键接入\r\n\r\n在项目根目录执行 `encode-fe-lint init`，即可一键接入规范，为项目安装规范 `Lint` 所需的依赖和配置。\r\n\r\n具体会做以下事情：\r\n\r\n- 安装各种依赖：包括 `Linter` 依赖，如 [ESLint](https://eslint.org/)、[stylelint](https://stylelint.io/)、[commitlint](https://commitlint.js.org/#/)、[markdownlint](https://github.com/DavidAnson/markdownlint) 等；配置依赖，如 [eslint-config-encode](https://www.npmjs.com/package/eslint-config-encode)、[stylelint-config-encode](https://www.npmjs.com/package/stylelint-config-encode)、[commitlint-config-encode](https://www.npmjs.com/package/commitlint-config-encode)、[markdownlint-config-encode](https://www.npmjs.com/package/markdownlint-config-encode) 等\r\n- 写入各种配置文件，包括：\r\n  - `.eslintrc.js`、`.eslintignore`：ESLint 配置（继承 `eslint-config-encode`）及黑名单文件\r\n  - `.stylelintrc.js`、`.stylelintignore`：stylelint 配置（继承 `stylelint-config-encode`）及黑名单文件\r\n  - `commitlint.config.js`：commitlint 配置（继承 `commitlint-config-encode`）\r\n  - `.markdownlint.json`、`.markdownlintignore`：`markdownlint` 配置及黑名单文件\r\n  - `.prettierrc.js`：符合规范的 [Prettier 配置](https://prettier.io/docs/en/configuration.html)\r\n  - `.editorconfig`：符合规范的 [editorconfig](https://editorconfig.org/)\r\n  - `.vscode/extensions.json`：写入规范相关的 [VSCode 插件推荐](https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions)，包括 `ESLint`、`stylelint`、`markdownlint`、`prettier` 等\r\n  - `.vscode/settings.json`：写入规范相关的 [VSCode 设置](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations)，设置 `ESLint` 和 `stylelint` 插件的 `validate` 及**保存时自动运行 fix**，如果选择使用 `Prettier`，会同时将 `prettier-vscode` 插件设置为各前端语言的 defaultFormatter，并配置**保存时自动格式化**\r\n  - `encode-fe-lint.config.js`encode-fe-lint 包的一些配置，如启用的功能等\r\n- 配置 git commit 卡口：使用 [husky](https://www.npmjs.com/package/husky) 设置代码提交卡口，在 git commit 时会运行 `encode-fe-lint commit-file-scan` 和 `encode-fe-lint commit-msg-scan` 分别对提交文件和提交信息进行规范检查。`encode-fe-lint commit-file-scan` 默认仅对 error 问题卡口，如果你想对 warn 问题也卡口，可以增加 `--strict` 参数以开启严格模式\r\n\r\n> 注 1：如果项目已经配置过 ESLint、stylelint 等 Linter，执行 `encode-fe-lint init` 将会提示存在冲突的依赖和配置，并在得到确认后进行覆盖：\r\n>\r\n> 注 2：如果项目的 .vscode/ 目录被 .gitignore 忽略，可以在拉取项目后单独执行 `encode-fe-lint init --vscode` 命令写入 `.vscode/extensions.json` 和 `.vscode/settings.json` 配置文件\r\n\r\n#### `encode-fe-lint scan`：一键扫描\r\n\r\n在项目的根目录执行命令，即可扫描项目的规范问题：\r\n\r\n支持下列参数：\r\n\r\n- `-q` `--quiet` 仅报告 error 级别的问题\r\n- `-o` `--output-report` 输出扫描出的规范问题日志\r\n- `-i` `--include <dirpath>` 指定要进行规范扫描的目录\r\n- `--no-ignore` 忽略 eslint 的 ignore 配置文件和 ignore 规则\r\n\r\n> 注 1：事实上，你可以在任意目录执行 `encode-fe-lint scan` `encode-fe-lint` 会根据文件类型、JSON 等特征嗅探项目类型。但我们还是推荐在执行过 `encode-fe-lint init` 的项目根目录执行 `encode-fe-lint scan`，以得到最准确的扫描结果。\r\n>\r\n> 注 2: `encode-fe-lint` 会根据项目内有无 eslint 和 stylelint 配置文件判断使用项目的配置文件还是 `encode-fe-lint` 默认配置进行扫描。若使用项目的，在未安装依赖时会帮其安装（执行 npm i）。若使用项目配置扫描失败，则使用默认配置扫描\r\n\r\n#### `encode-fe-lint fix`：一键修复\r\n\r\n在项目的根目录执行命令，即可修复部分规范问题：\r\n\r\n支持下列参数：\r\n\r\n- `-i` `--include <dirpath>` 指定要进行修复扫描的目录\r\n- `--no-ignore` 忽略 eslint 的 ignore 配置文件和 ignore 规则\r\n\r\n注意请 review 下修复前后的代码，以免工具误修的情况。\r\n\r\n#### `encode-fe-lint commit-file-scan` 提交文件扫描\r\n\r\n在 git commit 时对提交文件进行规范问题扫描，需配合 git 的 pre-commit 钩子使用。\r\n\r\n支持下列参数：\r\n\r\n- `-s` `--strict` 严格模式，对 warn 和 error 问题都卡口，默认仅对 error 问题卡口\r\n\r\n#### `encode-fe-lint commit-msg-scan` 提交信息扫描\r\n\r\ngit commit 时对 commit message 的格式进行扫描（使用 commitlint），需配合 [husky](https://www.npmjs.com/package/husky) 的 commit-msg 钩子使用。\r\n\r\n## Node.js API 使用\r\n\r\n### 安装\r\n\r\n```bash\r\nnpm install encode-fe-lint --save\r\n```\r\n\r\n### API\r\n\r\n#### init：初始化\r\n\r\n- encode-fe-lint.init(config)：将项目一键接入规范，效果等同于 `encode-fe-lint init`\r\n\r\n示例：\r\n\r\n```js\r\n(await encode) -\r\n  fe -\r\n  lint.init({\r\n    eslintType: 'react',\r\n    enableESLint: true,\r\n    enableStylelint: true,\r\n    enableMarkdownlint: true,\r\n    enablePrettier: true,\r\n    disableNpmInstall: false,\r\n  });\r\n```\r\n\r\nconfig 参数如下：\r\n\r\n| 参数               | 类型       | 默认值 | 说明                                                                                                                |\r\n| ------------------ | ---------- | ------ | ------------------------------------------------------------------------------------------------------------------- |\r\n| cwd                | string     | -      | 项目绝对路径                                                                                                        |\r\n| eslintType         | ESLintType | -      | 语言和框架类型，如果不配置，等同于 encode-fe-lint init，控制台会出现选择器，如果配置，控制台就不会出现选择器        |\r\n| enableESLint       | boolean    | true   | 是否启用 ESLint，如果不配置默认值为 true，即默认启用 ESLint                                                         |\r\n| enableStylelint    | boolean    | -      | 是否启用 stylelint，如果不配置，等同于 encode-fe-lint init，控制台会出现选择器，如果配置，控制台就不会出现选择器    |\r\n| enableMarkdownlint | boolean    | -      | 是否启用 markdownlint，如果不配置，等同于 encode-fe-lint init，控制台会出现选择器，如果配置，控制台就不会出现选择器 |\r\n| enablePrettier     | boolean    | -      | 是否启用 Prettier                                                                                                   |\r\n| disableNpmInstall  | boolean    | false  | 是否禁用自动在初始化完成后安装依赖                                                                                  |\r\n\r\n##### ESLintType\r\n\r\n- `default`: JavaScript 项目（未使用 React 和 Vue 的 JS 项目）\r\n- `react`: JavaScript + React 项目\r\n- `vue`: JavaScript + Vue 项目\r\n- `typescript/default`: TypeScript 项目（未使用 React 和 Vue 的 TS 项目）\r\n- `typescript/react`: TypeScript + React 项目\r\n- `typescript/vue`: TypeScript + Vue 项目\r\n- `es5`: ES5 及之前版本的 JavaScript 老项目\r\n\r\n## 配置\r\n\r\n`encode-fe-lint` 基于一份配置进行扫描（但你也可以零配置使用），支持的配置参数有：\r\n\r\n| 参数                | 类型                    | 默认值 | 说明                                                                                           |\r\n| ------------------- | ----------------------- | ------ | ---------------------------------------------------------------------------------------------- |\r\n| enableESLint        | boolean                 | true   | 是否启用 ESLint                                                                                |\r\n| enableStylelint     | boolean                 | true   | 是否启用 stylelint                                                                             |\r\n| enableMarkdownlint  | boolean                 | true   | 是否启用 markdownlint                                                                          |\r\n| enablePrettier      | boolean                 | -      | 是否启用 Prettier                                                                              |\r\n| eslintOptions       | ESLint.Options          | -      | ESLint 配置项，若未设置将使用执行目录下或内置的默认 eslintrc 和 eslintignore 进行扫描          |\r\n| stylelintOptions    | stylelint.LinterOptions | -      | stylelint 配置项，若未设置将使用执行目录下或内置的默认 stylelintrc 和 stylelintignore 进行扫描 |\r\n| markdownlintOptions | markdownlint.Options    | -      | markdownlint 配置项，若未设置将使用执行目录下或内置的默认 markdownlint 配置文件进行扫描        |\r\n\r\n`encode-fe-lint` 会读取执行目录下的 `encode-fe-lint.config.js` 作为配置文件。`encode-fe-lint init` 会在执行目录下新增如下的 `encode-fe-lint.config.js` 文件：\r\n\r\n```js\r\nmodule.exports = {\r\n  enableESLint: true,\r\n  enableStylelint: true,\r\n  enableMarkdownlint: true,\r\n  enablePrettier: true,\r\n};\r\n```\r\n\r\n## 常见问题\r\n\r\n### TypeScript 项目扫描性能问题\r\n\r\n如果你的 TS 项目 commit 卡口和 `encode-fe-lint scan` 运行时间很长，可以通过如下在 `.eslintrc.js` 中增加以下配置提升性能：\r\n\r\n```js\r\nmodule.exports = {\r\n  parserOptions: {\r\n    project: [], // for lint performance\r\n    createDefaultProgram: false, // for lint performance\r\n  },\r\n  rules: {\r\n    '@typescript-eslint/dot-notation': 0, // for lint performance\r\n    '@typescript-eslint/restrict-plus-operands': 0, // for lint performance\r\n  },\r\n};\r\n```","users":{}}