-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.12 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
{
"name": "popsicle-prefix",
"version": "2.0.1",
"description": "Prefix all Popsicle HTTP requests",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prettier": "prettier --write",
"lint": "tslint \"src/**/*.{js,jsx,ts,tsx}\" --project tsconfig.json",
"format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,md,yml,yaml}\"",
"build": "rimraf dist && tsc",
"specs": "jest --coverage",
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
"prepare": "npm run build",
"size": "size-limit"
},
"repository": {
"type": "git",
"url": "git://github.com/serviejs/popsicle-prefix.git"
},
"keywords": [
"popsicle",
"plugin",
"prefix"
],
"author": {
"name": "Blake Embrey",
"email": "[email protected]",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/serviejs/popsicle-prefix/issues"
},
"homepage": "https://github.com/serviejs/popsicle-prefix",
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"size-limit": [
{
"path": "./dist/index.js",
"limit": "100 B"
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}": [
"npm run prettier",
"git add"
]
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"servie": "^4.0.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^2.1.6",
"@types/jest": "^24.0.22",
"@types/node": "^12.12.6",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"servie": "^4.3.2",
"ts-jest": "^24.1.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^3.7.2"
}
}