-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
105 lines (105 loc) · 2.64 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
{
"name": "solint",
"version": "0.0.1",
"description": "A linter for the Solidity programming language",
"scripts": {
"npmcheckversion": "node ./scripts/npmcheckversion.js",
"preinstall": "npm run npmcheckversion",
"test": "mocha src/__tests__/**/*.js",
"prebuild": "npm run test && rimraf dist",
"build": "babel src --out-dir dist",
"prepublish": "npm run build",
"release": "npmpub",
"pretest": "npm run lint",
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .gitignore",
"lint:js": "npm run lint:eslint -- . ",
"lint:staged": "lint-staged",
"coveralls": "cat ./coverage/lcov/lcov.info | coveralls"
},
"authors": [
"Nick Dodson <[email protected]>",
],
"repository": {
"type": "git",
"url": "https://github.com/weifund/solint.git"
},
"main": "dist/index.js",
"bin": "dist/cli.js",
"files": [
"CONTRIBUTING.md",
"dist",
"src",
"docs",
"!**/__tests__"
],
"keywords": [
"solidity",
"contracts",
"standard",
"ethereum",
"linting",
"linter"
],
"license": "MIT",
"dependencies": {
"chalk": "^1.1.3",
"shelljs": "^0.7.0",
"meow": "^3.7.0"
},
"devDependencies": {
"babel-cli": "^6.7.7",
"babel-core": "^6.7.7",
"babel-eslint": "^6.0.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-webpack": "^6.4.1",
"babel-preset-react": "^6.5.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.5.0",
"coveralls": "^2.11.9",
"cross-env": "^1.0.7",
"eslint": "^2.10.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-import-resolver-webpack": "^0.2.4",
"eslint-plugin-import": "^1.8.0",
"eslint-plugin-jsx-a11y": "^1.2.0",
"eslint-plugin-react": "^5.1.1",
"eventsource-polyfill": "^0.9.6",
"lint-staged": "^1.0.1",
"lodash": "^4.13.1",
"minimist": "^1.2.0",
"chai": "^3.5.0",
"mocha": "^2.4.5",
"pre-commit": "^1.1.3",
"rimraf": "^2.5.2",
"sinon": "^2.0.0-pre"
},
"lint-staged": {
"lint:eslint": "*.js"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"import/no-unresolved": 2,
"comma-dangle": [2, "always-multiline"],
"indent": [2, 2, { "SwitchCase": 1 }],
"no-console": 1,
"max-len": 0,
"prefer-template": 2,
"no-use-before-define": 0,
"newline-per-chained-call": 0,
"arrow-body-style": [2, "as-needed"]
}
},
"pre-commit": "lint:staged"
}