2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00
2020-10-21 18:09:34 +08:00

This is a project build with EBuild-Cli

Install dependencies

npm install

use taobao repository

npm install --registry https://registry.npm.taobao.org

Init git repository

git init
git add README.md
git commit -m "first commit"
git remote add origin {Your remote git repository address}
git push -u origin master

Commond

npm run dev
npm run build
npm run publish
npm run lint

ebuild.config.js

module.exports = {
    'tranToEs5InNpm': true, // wether use babel
    'packageFiles': [
        './package.json'
        // config which package.json files need to modify version
        // '../npm/package.json', // this is an example
    ],
    'versioJsEs6Module': true, // use es6(export default) or require(module.exports=)
    'versioJsFiles': [
        // config which version.js files need to modify version
        // '../npm/version.js', // this is an example
    ],
    'name': '',
    'version': '0.0.1',
    'npmExternals': {
        // example
        // 'md5': 'md5'
    },
    'npmPaths': [
        'npm'
    ]
};

Vscode plugin

Install 'ESLint' plugin

Description
Disable web developer tools from the f12 button, right-click and browser menu.
https://theajack.github.io/disable-devtool/
Readme 624 KiB
Languages
TypeScript 48.4%
HTML 39.6%
JavaScript 12%