-
Notifications
You must be signed in to change notification settings - Fork 275
/
package.json
75 lines (75 loc) · 1.75 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
{
"author": "John Roepke <[email protected]> (http://john.sh/)",
"name": "twig",
"description": "JS port of the Twig templating language.",
"version": "1.17.1",
"homepage": "https://github.com/twigjs/twig.js",
"license": "BSD-2-Clause",
"licenses": [
{
"type": "BSD-2-Clause",
"url": "https://raw.github.com/twigjs/twig.js/master/LICENSE"
}
],
"repository": {
"type": "git",
"url": "git://github.com/twigjs/twig.js.git"
},
"main": "src/twig.js",
"engines": {
"node": ">=10"
},
"bin": {
"twigjs": "./bin/twigjs"
},
"scripts": {
"preversion": "npm test && git diff --exit-code --quiet",
"postversion": "git push origin master && git push origin master --tags",
"pretest": "npm run build",
"test": "mocha -r should",
"build": "node node/build.js",
"posttest": "xo src lib bin"
},
"dependencies": {
"@babel/runtime": "^7.8.4",
"locutus": "^2.0.11",
"minimatch": "3.0.x",
"walk": "2.3.x"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"babel-loader": "^8.0.6",
"eslint-plugin-mocha": "^6.3.0",
"mocha": "^9.0.0",
"path-browserify": "^1.0.1",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^9.0.0",
"terser-webpack-plugin": "^5.3.6",
"tokenizer2": "^2.0.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"xo": "^0.26.1"
},
"browser": {
"fs": false
},
"xo": {
"space": 4,
"envs": [
"browser",
"node",
"mocha"
],
"plugins": [
"mocha"
],
"rules": {
"promise/prefer-await-to-then": 0,
"prefer-arrow-callback": 0,
"mocha/prefer-arrow-callback": 2
}
}
}