Skip to content

Commit 20fbabc

Browse files
committed
Reformat package.json + added build and precompile tasks
1 parent 64d2e3c commit 20fbabc

1 file changed

Lines changed: 39 additions & 37 deletions

File tree

‎package.json‎

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
{
2-
"name": "attr-accept",
3-
"version": "1.0.0",
4-
"description": "JavaScript implementation of the \"accept\" attribute for HTML5 <input type=\"file\">",
5-
"main": "src/index.js",
6-
"scripts": {
7-
"test": "mocha --compilers js:babel/register --recursive",
8-
"test:watch": "npm test -- --watch",
9-
"lint": "eslint ."
10-
},
11-
"repository": {
12-
"type": "git",
13-
"url": "git+https://github.com/okonet/attr-accept.git"
14-
},
15-
"keywords": [
16-
"html5",
17-
"input",
18-
"tag",
19-
"attribute",
20-
"attr",
21-
"accpet",
22-
"file"
23-
],
24-
"author": "Andrey Okonetchnikov @okonetchnikov",
25-
"license": "MIT",
26-
"bugs": {
27-
"url": "https://github.com/okonet/attr-accept/issues"
28-
},
29-
"homepage": "https://github.com/okonet/attr-accept#readme",
30-
"devDependencies": {
31-
"babel": "^5.8.23",
32-
"babel-eslint": "^4.1.1",
33-
"eslint": "^1.3.1",
34-
"eslint-config-airbnb": "0.0.8",
35-
"eslint-plugin-react": "^3.3.1",
36-
"expect": "^1.9.0",
37-
"mocha": "^2.3.2"
38-
}
2+
"name": "attr-accept",
3+
"version": "1.0.0",
4+
"description": "JavaScript implementation of the \"accept\" attribute for HTML5 <input type=\"file\">",
5+
"main": "src/index.js",
6+
"scripts": {
7+
"build": "babel src/index.js --out-file dist/index.js",
8+
"prepublish": "build",
9+
"test": "mocha --compilers js:babel/register --recursive",
10+
"test:watch": "npm test -- --watch",
11+
"lint": "eslint ."
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/okonet/attr-accept.git"
16+
},
17+
"keywords": [
18+
"html5",
19+
"input",
20+
"tag",
21+
"attribute",
22+
"attr",
23+
"accpet",
24+
"file"
25+
],
26+
"author": "Andrey Okonetchnikov @okonetchnikov",
27+
"license": "MIT",
28+
"bugs": {
29+
"url": "https://github.com/okonet/attr-accept/issues"
30+
},
31+
"homepage": "https://github.com/okonet/attr-accept#readme",
32+
"devDependencies": {
33+
"babel": "^5.8.23",
34+
"babel-eslint": "^4.1.1",
35+
"eslint": "^1.3.1",
36+
"eslint-config-airbnb": "0.0.8",
37+
"eslint-plugin-react": "^3.3.1",
38+
"expect": "^1.9.0",
39+
"mocha": "^2.3.2"
40+
}
3941
}

0 commit comments

Comments
 (0)