-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
120 lines (120 loc) · 2.74 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
{
"name": "baba-core",
"version": "0.4.0",
"description": "A tool for creating random text generators.",
"homepage": "https://github.com/Lokaltog/baba-core",
"repository": {
"type": "git",
"url": "Lokaltog/baba-core"
},
"license": "MIT",
"author": {
"name": "Kim Silkebækken",
"email": "[email protected]",
"web": "https://silkebaekken.no/"
},
"eslintConfig": {
"extends": "eslint:recommended",
"rules": {
"block-scoped-var": "error",
"comma-dangle": [
"warn",
"always-multiline"
],
"consistent-return": "error",
"curly": [
"warn",
"all"
],
"dot-location": [
"warn",
"property"
],
"eqeqeq": [
"error",
"smart"
],
"guard-for-in": "warn",
"indent": [
"warn",
"tab"
],
"no-alert": "off",
"no-case-declarations": "error",
"no-console": "off",
"no-debugger": "warn",
"no-else-return": "error",
"no-empty-function": "warn",
"no-extra-bind": "error",
"no-fallthrough": "error",
"no-loop-func": "error",
"no-multi-spaces": "warn",
"no-multi-str": "error",
"no-native-reassign": "error",
"no-new": "warn",
"no-param-reassign": "error",
"no-redeclare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unused-vars": "error",
"no-undef": "error",
"no-use-before-define": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-warning-comments": "off",
"no-with": "error",
"radix": "error",
"semi": [
"warn",
"always"
],
"yoda": "error"
},
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"env": {
"es6": true,
"node": true
}
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": "current"
}
}
]
]
},
"scripts": {
"baba": "babel-node src/bin/baba.js",
"lint": "eslint src",
"compile": "npm run compile-parser && npm run compile-script",
"compile-parser": "jison src/parser/baba.jison -o src/parser/baba.js",
"compile-script": "babel -d dist src",
"prepare": "npm run compile"
},
"main": "./dist/baba.js",
"bin": {
"baba": "./dist/bin/baba.js"
},
"dependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.5.1",
"babylon": "^6.18.0",
"eslint": "^7.17.0",
"jison": "^0.4.18",
"yargs": "^16.2.0"
}
}