-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (74 loc) · 2.69 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
{
"name": "@unly/PROJECT-NAME",
"version": "1.0.0",
"description": "A project generated by https://github.com/UnlyEd/boilerplates-generator",
"scripts": {
"start": "cross-env-shell 'concurrently -p '{name}' -n 'lint,build,test' -c 'gray.bgWhite,yellow.bgBlue,green.bgWhite' \"yarn lint\" \"yarn build\" \"yarn test\"'",
"build": "yarn clean && tsc -w",
"build:once": "yarn clean && tsc",
"clean": "rm -rf lib/",
"lint": "esw src -w --ext .ts --ext .tsx",
"lint:once": "eslint src --ext .ts --ext .tsx",
"lint:fix": "eslint src --ext .ts --ext .tsx --fix",
"lint:fix:preview": "eslint src --ext .ts --ext .tsx --fix-dry-run",
"preversion": "yarn lint:once && yarn test:once && yarn doc:toc",
"postversion": "git add README.md CHANGELOG.md && git commit --amend --no-edit && git push && git push --tags",
"prepublishOnly": "yarn clean && yarn build:once && yarn publish:preview && cli-confirm \"Do you really want to release a new version? Please check the files that will be publicly released first. (y/n)\"",
"publish:preview": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"release": "yarn bump --commit --tag",
"releaseAndPublish": "yarn release && npm publish",
"doc:toc": "yarn markdown-toc --maxdepth 4 -i README.md",
"test": "NODE_ENV=test jest --watchAll",
"test:once": "NODE_ENV=test jest",
"test:coverage": "NODE_ENV=test jest --coverage",
"security:audit": "yarn audit",
"packages:upgrade": "yarn upgrade-interactive --latest"
},
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/UnlyEd/PROJECT-NAME.git"
},
"author": "unlyEd",
"license": "MIT",
"bugs": {
"url": "https://github.com/UnlyEd/PROJECT-NAME/issues"
},
"homepage": "https://github.com/UnlyEd/PROJECT-NAME",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"/lib"
],
"jest": {
"setupFilesAfterEnv": [
"jest-extended"
],
"verbose": true
},
"devDependencies": {
"@babel/core": "7.8.7",
"@babel/preset-env": "7.8.7",
"@babel/preset-typescript": "7.8.3",
"@types/jest": "25.1.4",
"@types/lodash": "4.14.149",
"@types/node": "13.9.0",
"@typescript-eslint/eslint-plugin": "2.23.0",
"@typescript-eslint/parser": "2.23.0",
"@unly/cli-confirm": "1.1.1",
"babel-jest": "25.1.0",
"concurrently": "5.1.0",
"cross-env": "7.0.2",
"eslint": "6.8.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jest": "23.8.2",
"eslint-watch": "6.0.1",
"jest": "25.1.0",
"markdown-toc": "1.2.0",
"ts-jest": "25.2.1",
"typescript": "3.8.3",
"version-bump-prompt": "6.0.2"
}
}