UNPKG

2.36 kBJSONView Raw
1{
2 "name": "create-n",
3 "version": "0.7.0",
4 "description": "Create Npm Package",
5 "keywords": [
6 "vivaxy",
7 "create-n"
8 ],
9 "bin": {
10 "create-n": "./index.js"
11 },
12 "scripts": {
13 "test": "jest",
14 "coverage": "jest --collect-coverage",
15 "release:beta": "npm test && standard-version --prerelease beta && npm publish --tag beta && git push --tags",
16 "release": "npm test && standard-version && npm publish && git push --tags"
17 },
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/vivaxy/create-n.git"
21 },
22 "author": "vivaxy <xyxuye2007@126.com>",
23 "license": "MIT",
24 "bugs": {
25 "url": "https://github.com/vivaxy/create-n/issues"
26 },
27 "homepage": "https://github.com/vivaxy/create-n#readme",
28 "dependencies": {
29 "@vivaxy/git": "^4.0.0",
30 "ejs": "^3.0.0",
31 "execa": "^4.0.0",
32 "fast-glob": "^3.1.1",
33 "fs-extra": "^9.0.0",
34 "git-url-parse": "^11.1.2",
35 "log-symbols": "^4.0.0",
36 "prompts": "^2.0.0"
37 },
38 "devDependencies": {
39 "@commitlint/cli": "^8.3.5",
40 "@commitlint/config-conventional": "^8.3.4",
41 "husky": "^4.0.0",
42 "jest": "^26.0.0",
43 "lint-staged": "^10.0.0",
44 "prettier": "^2.0.0",
45 "standard-version": "^8.0.0"
46 },
47 "lint-staged": {
48 "*.{js,ts,css,less,json,md,html,yml,yaml,pcss,jsx,tsx}": [
49 "prettier --write",
50 "git add"
51 ]
52 },
53 "husky": {
54 "hooks": {
55 "pre-commit": "lint-staged",
56 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
57 }
58 },
59 "jest": {
60 "collectCoverageFrom": [
61 "lib/**/*.js",
62 "index.js"
63 ],
64 "testPathIgnorePatterns": [
65 "/node_modules/",
66 "/template/src",
67 "/lib/template/__tests__/working-directories/"
68 ]
69 },
70 "commitlint": {
71 "extends": [
72 "@commitlint/config-conventional"
73 ]
74 },
75 "prettier": {
76 "printWidth": 80,
77 "tabWidth": 2,
78 "useTabs": false,
79 "semi": true,
80 "singleQuote": true,
81 "quoteProps": "as-needed",
82 "jsxSingleQuote": false,
83 "trailingComma": "all",
84 "bracketSpacing": true,
85 "jsxBracketSameLine": false,
86 "arrowParens": "always",
87 "proseWrap": "always",
88 "htmlWhitespaceSensitivity": "css",
89 "endOfLine": "lf",
90 "overrides": [
91 {
92 "files": "*.{css,less,json,html,yml,yaml,pcss}",
93 "options": {
94 "singleQuote": false
95 }
96 }
97 ]
98 }
99}