-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.95 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.95 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
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
{
"name": "fiora",
"version": "1.0.6",
"author": "Xiaofan Wu (https://github.com/xiaofan2406)",
"description": "Forms, for react",
"keywords": [
"react",
"forms"
],
"repository": "xiaofan2406/fiora",
"bugs": {
"url": "https://github.com/xiaofan2406/fiora/issues"
},
"license": "MIT",
"engines": {
"node": ">=8"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "./fiora.d.ts",
"sideEffects": false,
"scripts": {
"type-check": "tsc --noEmit",
"lint:tslint": "tslint 'src/**/*.{ts,tsx}' './fiora.d.ts' -c tslint.json",
"lint:eslint": "eslint '**/*.js' --ignore-path .gitignore",
"lint:prettier": "prettier-check '**/*.{js,json,ts,tsx,md}' --ignore-path .gitignore",
"lint": "yarn lint:tslint && yarn lint:eslint && yarn lint:prettier",
"format": "prettier '**/*.{js,json,ts,tsx,md}' --write --ignore-path .gitignore",
"test": "NODE_ENV=test jest --watch --updateSnapshot",
"coverage": "NODE_ENV=test jest --coverage",
"prebuild": "yarn type-check && yarn lint && rm -rf dist",
"build:cjs": "NODE_ENV=production MODULE=cjs babel src --out-dir dist/cjs --extensions '.ts,.tsx'",
"build:esm": "NODE_ENV=production babel src --out-dir dist/esm --extensions '.ts,.tsx'",
"build": "yarn build:cjs && yarn build:esm",
"prepublishOnly": "yarn build",
"postpublish": "git push && git push --tags",
"docs:dev": "cd ./www && yarn dev",
"docs:deploy": "cd ./www && yarn deploy"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,ts,tsx,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"browserslist": [
"Chrome >= 60",
"Safari >= 10.1",
"iOS >= 10.3",
"Firefox >= 54",
"Edge >= 15"
],
"peerDependencies": {
"react": "^16.5.2",
"react-dom": "^16.5.2"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/react": "^16.4.18",
"@types/react-dom": "^16.0.9",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest-dom": "^2.1.0",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"prettier-check": "^2.0.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-testing-library": "^5.2.3",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.1.3"
}
}