/
package.json
99 lines (99 loc) · 3.42 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
95
96
97
98
99
{
"name": "flexi-path",
"description": "Flexible path builder and walker",
"version": "0.1.2-beta.6",
"keywords": [
"builder",
"walker",
"path"
],
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/src/*"
],
"repository": "github:jaspenlind/flexi-path",
"readme": "https://github.com/jaspenlind/flexi-path#readme",
"author": "jaspenlind",
"license": "MIT",
"private": false,
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm-run-all test lint",
"version": "git add -A src",
"postversion": "git push && git push --tags && npm run clean",
"format": "prettier --ignore-path .eslintignore --write \"**/*.{js,ts}\" -c",
"lint": "eslint . --ext .ts,.js",
"start": "ts-node src/index.ts",
"build": "tsc",
"test": "jest --verbose --forceExit --detectOpenHandles --coverage -t",
"watch-test": "jest --watchAll --detectOpenHandles -t",
"check-format": "prettier --ignore-path .eslintignore \"**/*.{js,ts}\" --list-different && npm run lint -- --quiet",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"docs": "typedoc --tsconfig ./tsconfig.json src && shx cp .nojekyll docs/.nojekyll",
"debug": "node --nolazy --inspect-brk=9229 node_modules/jest/bin/jest.js -i",
"bump": "npm version prerelease --preid alpha -m \" build: :bookmark:%s bumped\"",
"beta": "npm version prerelease --preid beta -m \"build: :bookmark: %s beta release\"",
"release:patch": "npm version patch -m \"build: :bookmark: %s patch release\"",
"release:minor": "npm version minor -m \"build: :bookmark: %s minor release\"",
"release:major": "npm version major -m \"build: :bookmark: %s major release\"",
"clean": "npm-run-all clean:*",
"clean:build": "rimraf dist",
"clean:test": "rimraf coverage",
"clean:docs": "rimraf docs",
"destroytags": "git fetch && git push origin --delete $(git tag -l) && git tag -d $(git tag -l)"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/expect": "^1.20.4",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.4",
"@typescript-eslint/eslint-plugin": "^2.1.0",
"@typescript-eslint/parser": "^2.1.0",
"coveralls": "^3.0.6",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-airbnb-typescript": "^4.0.1",
"eslint-config-prettier": "^6.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.15.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-simple-import-sort": "^4.0.0",
"eslint-plugin-sorting": "^0.4.1",
"expect": "^24.9.0",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-extended": "^0.11.2",
"jest-matcher-utils": "^24.9.0",
"lint-staged": "^9.2.5",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"shx": "^0.3.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"typedoc": "^0.15.0",
"typescript": "^3.6.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"@types/shelljs": "^0.8.5",
"shelljs": "^0.8.3",
"tslib": "^1.10.0"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"git add",
"jest --bail --findRelatedTests"
]
}
}