This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
167 lines (167 loc) · 4.41 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "darkskyapi-ts",
"version": "0.0.0-development",
"description": "A wrapper for DarkSky.net API written in Typescript",
"keywords": [
"darksky",
"api",
"typescript",
"weather",
"darksky.net",
"forecast",
"forecast.io"
],
"main": "dist/darksky-api.cjs.js",
"module": "dist/darksky-api.es5.js",
"typings": "dist/types/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"author": "Jordon de Hoog <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/worldturtlemedia/darksky-api"
},
"license": "MIT",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"lint": "tslint --project tsconfig.test.json -t codeFrame --fix",
"lint:src": "npm run lint -- --project tsconfig.json 'src/**/*.ts'",
"lint:test": "npm run lint -- --project tsconfig.test.json 'test/**/*.ts'",
"lint:all": "npm run lint:src && npm run lint:test",
"format": "prettier --write '{src,test}/**/*.{ts,json}' '*.md'",
"predocs": "rimraf docs",
"docs": "typedoc --out docs --excludeExternals --target es6 --includeDeclarations --excludePrivate --mode modules src",
"docs:watch": "watch 'yarn docs' ./src",
"tsc": "tsc --module commonjs",
"rollup": "rollup -c rollup.config.ts",
"prebuild": "rimraf dist",
"build": "npm run tsc && npm run rollup",
"postbuild": "npm run docs",
"start": "concurrently 'npm run tsc -- --watch' 'npm run rollup -- --watch'",
"test": "jest",
"test:dev": "jest --watch",
"test:prod": "npm run lint:all && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release"
},
"dependencies": {
"axios": "^0.21.1",
"date-fns": "^2.0.0"
},
"devDependencies": {
"@commitlint/cli": "9.1.2",
"@commitlint/config-conventional": "9.1.2",
"@types/jest": "26.0.10",
"@types/node": "12.12.54",
"colors": "1.4.0",
"commitizen": "4.1.2",
"concurrently": "5.3.0",
"coveralls": "3.1.0",
"cross-env": "7.0.2",
"cz-conventional-changelog": "3.2.0",
"husky": "4.2.5",
"jest": "26.4.1",
"jest-config": "26.4.1",
"lint-staged": "10.2.11",
"lodash.camelcase": "4.3.0",
"prettier": "2.0.5",
"prompt": "1.0.0",
"replace-in-file": "6.1.0",
"rimraf": "3.0.2",
"rollup": "2.26.4",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-sourcemaps": "0.6.2",
"rollup-plugin-typescript2": "0.27.2",
"rollup-plugin-uglify": "6.0.4",
"semantic-release": "17.2.3",
"shelljs": "0.8.4",
"ts-jest": "26.2.0",
"ts-node": "8.10.2",
"tslib": "2.0.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-config-standard": "9.0.0",
"typedoc": "0.18.0",
"typescript": "3.9.7",
"watch": "1.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.{ts,json,js,md}": [
"prettier --write",
"git add"
],
"src/**/*.ts": [
"npm run lint -- --project tsconfig.json",
"git add"
],
"test/**/*.ts": [
"npm run lint -- --project tsconfig.test.json",
"git add"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "./tsconfig.test.json",
"diagnostics": true
}
},
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"coverageDirectory": "coverage/",
"coverageReporters": [
"lcov",
"html",
"text-summary"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"roots": [
"<rootDir>/src/",
"<rootDir>/test/"
],
"testMatch": [
"<rootDir>/test/**/?(*.)(spec|test).ts?(x)"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$"
],
"preset": "ts-jest"
}
}