1 | {
|
2 | "name": "@ne_fe/boot",
|
3 | "version": "1.4.1",
|
4 | "description": "ne front end basic module",
|
5 | "engines": {
|
6 | "node": ">=8"
|
7 | },
|
8 | "bin": {
|
9 | "ne": "./bin/ne.js"
|
10 | },
|
11 | "scripts": {
|
12 | "packageVersion": "echo $npm_package_version",
|
13 | "test": "jest",
|
14 | "format": "prettier --single-quote --no-semi --write **/*.js",
|
15 | "install": "node bin/install.js",
|
16 | "uninstall": "node bin/uninstall.js",
|
17 | "precommit": "node index.js",
|
18 | "cz": "git-cz",
|
19 | "lint": "eslint --format node_modules/eslint-friendly-formatter .",
|
20 | "lint:fix": "npm run lint --fix",
|
21 | "pretest": "npm run lint"
|
22 | },
|
23 | "repository": {
|
24 | "type": "git",
|
25 | "url": "http://git.nx-code.com/ne-fe/ne-fe-boot.git"
|
26 | },
|
27 | "gitHooks": {
|
28 | "pre-commit": "node ./node_modules/@ne_fe/boot/lint-staged/index.js -c ./node_modules/@ne_fe/boot/.lintstagedrc.json",
|
29 | "commit-msg": "node ./node_modules/@ne_fe/boot/verify_commit_msg.js"
|
30 | },
|
31 | "lint-staged": {
|
32 | "*.js": [
|
33 | "eslint --fix",
|
34 | "git add"
|
35 | ]
|
36 | },
|
37 | "keywords": [
|
38 | "git",
|
39 | "hook",
|
40 | "hooks",
|
41 | "pre-commit",
|
42 | "precommit",
|
43 | "post-commit",
|
44 | "postcommit",
|
45 | "pre-push",
|
46 | "prepush",
|
47 | "post-merge",
|
48 | "postmerge",
|
49 | "test"
|
50 | ],
|
51 | "license": "MIT",
|
52 | "bugs": {
|
53 | "url": "http://git.nx-code.com/ne-fe/ne-fe-boot/issues"
|
54 | },
|
55 | "homepage": "http://git.nx-code.com/ne-fe/ne-fe-boot",
|
56 | "devDependencies": {
|
57 | "babel-eslint": "^10.0.1",
|
58 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
|
59 | "babel-preset-env": "^1.7.0",
|
60 | "commitizen": "^2.9.6",
|
61 | "consolemock": "^1.0.2",
|
62 | "cz-conventional-changelog": "^2.0.0",
|
63 | "husky": "^0.14.3",
|
64 | "jest": "^20.0.4",
|
65 | "jsonlint": "^1.6.2",
|
66 | "mkdirp": "^0.5.1",
|
67 | "prettier": "^1.4.4",
|
68 | "rimraf": "^2.6.1",
|
69 | "tempy": "^0.1.0"
|
70 | },
|
71 | "dependencies": {
|
72 | "chalk": "^2.3.1",
|
73 | "commander": "^2.14.1",
|
74 | "cosmiconfig": "^5.0.2",
|
75 | "cross-env": "^5.2.0",
|
76 | "debug": "^3.1.0",
|
77 | "dedent": "^0.7.0",
|
78 | "eslint": "^5.6.0",
|
79 | "eslint-config-egg": "^7.1.0",
|
80 | "eslint-config-okonet": "^5.0.1",
|
81 | "eslint-friendly-formatter": "^4.0.1",
|
82 | "eslint-plugin-node": "^6.0.0",
|
83 | "eslint-plugin-vue": "^4.7.1",
|
84 | "execa": "^0.8.0",
|
85 | "find-parent-dir": "^0.3.0",
|
86 | "is-ci": "^1.0.10",
|
87 | "is-glob": "^4.0.0",
|
88 | "is-windows": "^1.0.2",
|
89 | "jest-validate": "^23.5.0",
|
90 | "listr": "^0.14.1",
|
91 | "lodash": "^4.17.5",
|
92 | "log-symbols": "^2.2.0",
|
93 | "micromatch": "^3.1.8",
|
94 | "normalize-path": "^1.0.0",
|
95 | "npm-which": "^3.0.1",
|
96 | "p-map": "^1.1.1",
|
97 | "path-is-inside": "^1.0.2",
|
98 | "pify": "^3.0.0",
|
99 | "please-upgrade-node": "^3.0.2",
|
100 | "snyk": "^1.110.2",
|
101 | "staged-git-files": "1.1.1",
|
102 | "string-argv": "^0.0.2",
|
103 | "stringify-object": "^3.2.2",
|
104 | "strip-indent": "^2.0.0"
|
105 | },
|
106 | "standard": {
|
107 | "env": {
|
108 | "jest": true
|
109 | }
|
110 | },
|
111 | "jest": {
|
112 | "testEnvironment": "node",
|
113 | "setupFiles": [
|
114 | "./lint-staged/testSetup.js"
|
115 | ]
|
116 | }
|
117 | }
|