js-sdk-template
Version:
69 lines (68 loc) • 1.92 kB
JSON
{
"name": "js-sdk-template",
"version": "1.0.1",
"description": "JS SDK Template",
"main": "lib/index.js",
"types": "esm/index.d.ts",
"module": "esm/index.js",
"dependencies": {
"@babel/runtime-corejs2": "^7.10.2"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.16.8",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"babel-loader": "^8.2.3",
"confusing-browser-globals": "^1.0.11",
"del-cli": "^3.0.1",
"eslint": "^7.16.3",
"husky": "^4.2.5",
"lint-staged": "^10.1.6",
"pre-commit": "^1.2.2",
"terser-webpack-plugin": "4.2.3",
"ts-loader": "^8.2.0",
"typescript": "^4.5.4",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
},
"scripts": {
"build": "npm run clean && tsc && babel esm --out-dir lib && webpack --optimize-minimize --config ./build/webpack-prod.js",
"dev": "webpack-dev-server --open --config ./build/webpack-dev.js",
"clean": "del \"./(lib|dist|esm)\"",
"lint": "eslint src --ext .ts,.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yangdengcheng/js-sdk-template.git"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,vue}": [
"eslint --fix",
"git add ."
]
},
"keywords": [
"Javascript",
"JDK",
"Typescript"
],
"author": "YangDengcheng",
"license": "ISC",
"bugs": {
"url": "https://github.com/yangdengcheng/js-sdk-template/issues"
},
"homepage": "https://github.com/yangdengcheng/js-sdk-template#readme"
}