-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
88 lines (88 loc) · 2.38 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
{
"name": "@danielbayley/jest-preset-coffeescript",
"version": "2.0.3",
"description": "Easily write your Jests in CoffeeScript.",
"keywords": [
"coffee",
"coffeescript",
"jest",
"preset",
"transform",
"config",
"unit",
"test"
],
"homepage": "https://github.com/danielbayley/jest-preset-coffeescript#readme",
"repository": "danielbayley/jest-preset-coffeescript",
"bugs": "https://github.com/danielbayley/jest-preset-coffeescript/issues",
"author": "Daniel Bayley <[email protected]> (https://github.com/danielbayley)",
"license": "MIT",
"devDependencies": {
"coffeelint": "^2.1.0",
"coffeescript": "^2.5.1",
"husky": "^4.3.0",
"jest": "^26.5.3",
"jest-config": "^26.5.3",
"jest-validate": "^26.5.3",
"lint-staged": "^10.4.0",
"micromatch": "^4.0.2"
},
"dependencies": {
"@babel/core": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"babel-preset-jest": "^26.5.0",
"source-map-support": "danielbayley/node-source-map-support#patch-1"
},
"peerDependencies": {
"coffeescript": "2.x",
"jest": ">= 25.0.0 < 27"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"files": [
"*.js*"
],
"main": "./jest-preset",
"babel": {
"plugins": [
"@babel/transform-modules-commonjs"
],
"presets": [
"jest"
]
},
"coffeelintConfig": {
"no_unnecessary_fat_arrows": {
"level": "ignore"
},
"max_line_length": {
"level": "warn"
}
},
"lint-staged": {
"*.@(coffee|litcoffee|coffee.md)": [
"coffeelint",
"jest --bail --findRelatedTests"
]
},
"jest": {
"verbose": true,
"onlyChanged": true,
"preset": "./jest-preset"
},
"scripts": {
"prepare": "coffee --compile --bare --transpile *.coffee",
"precommit": "lint-staged",
"prepublishOnly": "GITHUB_ACTIONS=true npm test",
"prerelease": "git stash --include-untracked",
"release": "npm version --",
"postversion": "git push --follow-tags && npm publish && git stash pop --index",
"pretest": "npm run prepare",
"test": "npm run test.lint && npm run test.jest --",
"test.lint": "npm run test.lint.coffee",
"test.lint.coffee": "coffeelint -- *.coffee test/*.*coffee*",
"test.jest": "jest ${GITHUB_ACTIONS+--all --ci --no-cache}",
"clean": "rm -f *.js & jest --clearCache --config {}"
}
}