@explores/reg
Version:
正则库
91 lines (90 loc) • 2.16 kB
JSON
{
"name": "@explores/reg",
"version": "0.2.0",
"description": "正则库",
"keywords": [
"reg",
"explore",
"正则"
],
"author": "'569835014' <'569835014@qq.com'>",
"homepage": "",
"license": "ISC",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://gitee.com/explore3/explore.git"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "set NODE_ENV=developemnt&& rollup -c rollup.config.js -w",
"build": "set NODE_ENV=production&& rollup -c rollup.config.js",
"prepublishOnly": "npm run build",
"prebuild": "rimraf dist",
"debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand ./__tests__/getIn.test.ts --no-cache --no-watchman",
"test": "jest --coverage",
"lint-staged": "eslint --ext .ts,.d.ts src/ --fix"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^10.11.0",
"husky": "^6.0.0",
"jest": "^23.6.0",
"jest-config": "^23.6.0",
"rimraf": "^3.0.2",
"rollup": "^2.45.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^23.10.2",
"ts-node": "^7.0.1",
"typescript": "^4.2.4"
},
"gitHead": "abc4361ae4ed0fc4720e44bf0e8408f2eaae22c4",
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"dependencies": {
"rollup-plugin-json": "^4.0.0"
}
}