-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
79 lines (79 loc) · 2.06 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
{
"name": "jest-preset-coffeescript",
"version": "1.1.1",
"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 <daniel.bayley@me.com> (https://github.com/danielbayley)",
"license": "MIT",
"devDependencies": {
"coffeelint": "^2.1.0",
"coffeescript": "^2.4.1",
"husky": "^3.0.0",
"jest": "^24.8.0",
"lint-staged": "^9.0.2",
"nanomatch": "^1.2.13"
},
"dependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"babel-preset-jest": "^24.6.0"
},
"peerDependencies": {
"@babel/core": "^7.5.0",
"coffeescript": "^2.4.1",
"jest": "^24.8.0"
},
"files": [
"*.js*"
],
"babel": {
"plugins": [
"@babel/transform-modules-commonjs"
],
"presets": [
"jest"
]
},
"lint-staged": {
"{*.*coffee*,Cakefile}": [
"coffeelint",
"jest --bail --findRelatedTests"
]
},
"jest": {
"verbose": true,
"onlyChanged": true,
"preset": "./jest-preset.json",
"transform": {
"coffee|litcoffee|coffee.md": "./index"
},
"setupFilesAfterEnv": [
"./index"
]
},
"scripts": {
"compile": "npm run compile.preset & npm run compile.coffee",
"compile.preset": "cake generate > jest-preset.json",
"compile.coffee": "coffee --compile --bare --transpile *.coffee",
"prepare": "npm run compile",
"precommit": "lint-staged",
"prepublishOnly": "CI=true npm test",
"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* Cakefile",
"test.jest": "jest ${CI+--ci --all --no-cache}",
"clean": "rm *.js jest-preset.json"
}
}