-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.47 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.47 KB
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
{
"name": "formadate",
"version": "1.2.0",
"description": "a facebook-like date formater",
"main": "lib/index.js",
"repository": "tugorez/formadate",
"author": "tugorez <tugorez@gmail.com>",
"license": "MIT",
"files": ["es", "lib", "dist"],
"scripts": {
"test": "jest",
"test:all": "yarn run lint && yarn run test:coverage",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint --ignore-pattern 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",
"prepublish": "npm run build",
"precommit": "lint-staged"
},
"lint-staged": {
"**/*.{js,jsx,json,css}": [
"prettier --single-quote --trailing-comma=es5 --write",
"git add"
]
},
"dependencies": {
"moment": "^2.20.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"eslint": "^4.9.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-prettier": "^2.4.0",
"husky": "^0.14.3",
"jest": "^22.0.6",
"lint-staged": "^6.0.0",
"mockdate": "^2.0.2",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"webpack": "^3.10.0"
}
}