-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 3.44 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
{
"name": "prepare-stack-trace",
"description": "Error.prepareStackTrace ponyfill for Node. Made for Cabin.",
"version": "0.0.4",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"ava": {
"failFast": true,
"verbose": true
},
"bugs": {
"url": "https://github.com/cabinjs/prepare-stack-trace/issues",
"email": "niftylettuce@gmail.com"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"ava": "^2.4.0",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"codecov": "^3.5.0",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-config-xo-lass": "^1.0.3",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-node": "^10.0.0",
"fixpack": "^2.3.1",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"nyc": "^14.1.1",
"remark-cli": "^7.0.0",
"remark-preset-github": "^0.0.16",
"rimraf": "^3.0.0",
"tinyify": "^2.5.1",
"xo": "^0.24.0"
},
"engines": {
"node": ">=6.4.0"
},
"files": [
"lib",
"dist"
],
"homepage": "https://github.com/cabinjs/prepare-stack-trace",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"jsdelivr": "dist/prepare-stack-trace.min.js",
"keywords": [
"cabin",
"error",
"fallback",
"logger",
"node",
"polyfill",
"ponyfill",
"prepare",
"prepareStackTrace",
"stack",
"trace"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
},
"main": "lib/index.js",
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/cabinjs/prepare-stack-trace"
},
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"browserify": "browserify src/index.js -o dist/prepare-stack-trace.js -s prepareStackTrace -g [ babelify --configFile ./.dist.babelrc ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo && eslint -c .lib.eslintrc lib && eslint -c .dist.eslintrc dist",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/prepare-stack-trace.min.js -s prepareStackTrace -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
"nyc": "cross-env NODE_ENV=test nyc ava",
"test": "npm run build && npm run lint && npm run ava",
"test-coverage": "npm run build && npm run lint && npm run nyc"
},
"unpkg": "dist/prepare-stack-trace.min.js",
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
],
"envs": [
"browser",
"node"
]
}
}