-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.78 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": "o",
"version": "2.3.2",
"description": "common object helper functions",
"keywords": [
"object",
"helper"
],
"homepage": "https://o.hammy2899.dev",
"bugs": {
"url": "https://github.com/hammy2899/o/issues"
},
"license": "MIT",
"author": "Sean Hamilton <[email protected]> (https://github.com/hammy2899)",
"files": [
"dist/",
"src/",
"yarn.lock"
],
"main": "dist/o.js",
"browser": "dist/o.min.js",
"module": "dist/o.mjs",
"jsnext:mail": "dist/o.mjs",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/hammy2899/o.git"
},
"scripts": {
"build:clean": "rm -rf ./build ./dist",
"build:js": "rollup -c",
"build": "npm-run-all build:clean build:js",
"test": "jest",
"test:watch": "yarn test --watch",
"lint": "eslint --ext .ts src",
"docs:clean": "rm -rf ./docs",
"docs:typedoc": "typedoc",
"docs:cname": "echo o.hammy2899.dev >> docs/CNAME",
"docs:nojekyll": "touch docs/.nojekyll",
"docs": "npm-run-all docs:clean docs:typedoc docs:cname docs:nojekyll",
"changelog": "auto-changelog -p",
"release": "npm-run-all test lint build docs changelog"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/jest": "^24.0.13",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"auto-changelog": "^1.15.0",
"eslint": "^6.6.0",
"eslint-config-standard": "14.1.0",
"eslint-config-standard-with-typescript": "^11.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.0.4",
"jest": "^24.8.0",
"npm-run-all": "^4.1.5",
"rollup": "^1.27.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.2",
"ts-jest": "^24.0.2",
"typedoc": "^0.15.0",
"typescript": "^3.7.2"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverage": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-push": "yarn test && yarn lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}