-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "mojito-util",
"version": "1.0.0",
"description": "🔧 A FE util to save time.Code for life.",
"main": "dist/MojitoUtils.cjs.js",
"module": "dist/MojitoUtils.esm.js",
"scripts": {
"build": "cross-env NODE_ENV=production rollup -c",
"docs": "gulp",
"docs:build": "typedoc",
"lint": "eslint --fix ./ --ignore-path .gitignore --ext .js,.ts",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"test": "npm run type-check && cross-env NODE_ENV=test jest",
"test:tdd": "cross-env NODE_ENV=test jest --watch",
"prebuild": "rimraf dist/* & npm test",
"next": "npm --no-git-tag-version version prerelease",
"next:m": "npm --no-git-tag-version version preminor",
"publish": "npm run prebuild && npm run build && npm publish",
"publish:n": "npm run prebuild && npm run build && npm publish --tag next",
"cov": "open coverage/lcov-report/index.html"
},
"eslintIgnore": [
"package.json"
],
"husky": {
"hooks": {
"pre-push": "npm run test",
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"git add"
],
"{src,test}/**/*.{js,ts}": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/JasonYan2015/mojito-util.git"
},
"keywords": [
"utils"
],
"author": "Yan Zijun",
"license": "ISC",
"bugs": {
"url": "https://github.com/JasonYan2015/mojito-util/issues"
},
"homepage": "https://github.com/JasonYan2015/mojito-util#readme",
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/jest": "^24.0.15",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"browser-sync": "^2.26.7",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"gulp": "^4.0.2",
"gulp-typedoc": "^2.2.2",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-environment-jsdom-thirteen": "^1.0.1",
"lint-staged": "^9.2.0",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-postcss": "^2.8.2",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.22.0",
"typescript": "^3.8.3"
},
"devDependencies": {
"identity-obj-proxy": "^3.0.0"
}
}