Skip to content

Commit e8324cf

Browse files
committed
Chore: setup environment
1 parent 75f886b commit e8324cf

File tree

5 files changed

+71
-0
lines changed

5 files changed

+71
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["power-assert"]
3+
}

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": ["mysticatea", "mysticatea/node"],
3+
"root": true
4+
}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.nyc_output
2+
/coverage
3+
/node_modules
4+
/test/temp
5+
/npm-debug.log
6+
/test.js

package.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"name": "vue-eslint-parser",
3+
"version": "0.0.0",
4+
"description": "The ESLint custom parser of `.vue` file.",
5+
"engines": {
6+
"node": ">=4"
7+
},
8+
"main": "index.js",
9+
"files": [
10+
"lib"
11+
],
12+
"scripts": {
13+
"clean": "rimraf .nyc_output coverage",
14+
"coverage": "nyc report --reporter lcov && opener ./coverage/lcov-report/index.html",
15+
"lint": "eslint index.js lib test",
16+
"postversion": "git push && git push --tags",
17+
"pretest": "npm run lint",
18+
"preversion": "npm test",
19+
"test": "nyc mocha \"test/*.js\" --compilers js:babel-register --reporter progress",
20+
"watch": "mocha \"test/*.js\" --compilers js:babel-register --growl --reporter progress --watch",
21+
"codecov": "nyc report --reporter lcovonly && codecov"
22+
},
23+
"dependencies": {
24+
"espree": ">=3.3.2",
25+
"parse5": "^3.0.0"
26+
},
27+
"devDependencies": {
28+
"@types/node": "^6.0.52",
29+
"babel-preset-power-assert": "^1.0.0",
30+
"babel-register": "^6.18.0",
31+
"codecov": "^1.0.1",
32+
"eslint": "^3.12.2",
33+
"eslint-config-mysticatea": "^7.0.1",
34+
"fs-extra": "^1.0.0",
35+
"mocha": "^3.2.0",
36+
"nyc": "^10.0.0",
37+
"opener": "^1.4.2",
38+
"power-assert": "^1.4.2",
39+
"rimraf": "^2.5.4"
40+
},
41+
"peerDependencies": {
42+
"eslint": ">=3"
43+
},
44+
"repository": {
45+
"type": "git",
46+
"url": "git+https://github.com/mysticatea/vue-eslint-parser.git"
47+
},
48+
"keywords": [],
49+
"author": "Toru Nagashima",
50+
"license": "MIT",
51+
"bugs": {
52+
"url": "https://github.com/mysticatea/vue-eslint-parser/issues"
53+
},
54+
"homepage": "https://github.com/mysticatea/vue-eslint-parser#readme"
55+
}

test/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "mysticatea/mocha"
3+
}

0 commit comments

Comments
 (0)