feat: first commit
Showing
.babelrc
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.prettierrc
0 → 100644
CHANGELOG.md
0 → 100644
build.js
0 → 100644
commitlint.config.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "@tuia/ipc", | ||
"version": "0.0.1", | ||
"description": "推啊IPC备案号获取", | ||
"main": "libs/tuiaIPC.js", | ||
"module": "libs/tuiaIPC.module.js", | ||
"author": "ltt", | ||
"license": "MIT", | ||
"scripts": { | ||
"watch": "rollup -c -w", | ||
"build": "npm run clean && cross-env NODE_ENV=prod && rollup -c", | ||
"build:debug": "npm run clean && cross-env NODE_ENV=dev rollup -c", | ||
"clean": "rm -rf ./dist", | ||
"pub": "node ./build.js", | ||
"deploy": "npm run build && npm publish --access public && npm run pub", | ||
"lint": "prettier --write src", | ||
"release": "standard-version" | ||
}, | ||
"typescript": ">=4.0", | ||
"files": [ | ||
"dist" | ||
], | ||
"devDependencies": { | ||
"@babel/core": "^7.12.9", | ||
"@babel/plugin-proposal-class-properties": "^7.12.1", | ||
"@babel/plugin-transform-runtime": "^7.12.1", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/preset-typescript": "^7.12.7", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^10.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.9.0", | ||
"@typescript-eslint/parser": "^4.9.0", | ||
"babel-eslint": "^10.1.0", | ||
"chalk": "^4.1.0", | ||
"cross-env": "^7.0.2", | ||
"eslint": "^7.15.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"husky": "^4.3.4", | ||
"lint-staged": "^10.5.3", | ||
"prettier": "^2.2.1", | ||
"rollup": "^2.33.2", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"standard-version": "^9.0.0", | ||
"tslib": "^2.0.3", | ||
"tuia-auto-upload": "^2.0.19", | ||
"typescript": "^4.1.2" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{.ts,.tsx}": [ | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
] | ||
} | ||
} |
rollup.config.js
0 → 100644
src/index.ts
0 → 100644
tsconfig.json
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment