-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.42 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
{
"name": "tofd",
"version": "1.0.7",
"description": "tofd converts an object to FormData",
"main": "lib/index.js",
"repository": "https://github.com/tugorez/tofd",
"author": "tugorez",
"license": "MIT",
"files": [
"es",
"lib",
"dist"
],
"scripts": {
"lint": "eslint --fix .",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:all": "yarn run lint && yarn run test:coverage",
"build": "npm run test:all && rimraf lib es dist && npm run build:es && npm run build:common && npm run build:umd",
"build:es": "babel src --out-dir es --ignore __tests__/*",
"build:common": "babel src --out-dir lib --ignore __tests__/*",
"build:umd": "webpack",
"precommit": "lint-staged",
"prepublish": "npm run build"
},
"lint-staged": {
"**/*.{js,jsx,json,css}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"buffer": "^5.1.0",
"form-data": "^2.1.2"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-loader": "^6.4.0",
"babel-preset-env": "^1.2.1",
"eslint": "^3.17.1",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^0.14.3",
"jest": "^19.0.2",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7",
"rimraf": "^2.6.1",
"webpack": "^2.2.1"
}
}