-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.67 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@21epub/epub-form-validation",
"version": "0.0.3-alpha.3",
"description": "validation for epub form",
"author": "icey0126",
"license": "MIT",
"homepage": "https://github.com/21epub/epub-form-validation",
"repository": {
"type": "git",
"url": "git+https://github.com/21epub/epub-form-validation.git"
},
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"keywords": [
"react",
"parcel",
"typescript"
],
"scripts": {
"clean": "rm dist/bundle.js",
"clean-build": "rm build/*",
"start": "parcel example/index.html --out-dir ./build",
"start:proxy": "node ./scripts/proxy-server.js",
"build-example": "parcel build example/index.html --out-dir ./build",
"build-prod": "run-s clean-build build-example",
"test": "jest --coverage",
"lint": "run-s lint:js lint:style lint:prettier",
"lint-staged:js": "eslint --fix --cache --ext .ts,.tsx ./src",
"lint:js": "eslint --fix --cache --ext .ts,.tsx ./src",
"lint:prettier": "prettier --check --write \"**/*.{tsx,ts,less,md,json}\" --end-of-line auto",
"lint:style": "stylelint --aei --fix \"src/**/*.less\" --syntax less",
"start-w": "microbundle-crl watch --no-compress --format modern,cjs --sourcemap",
"build": "microbundle-crl --no-compress --format modern,cjs",
"prettier": "prettier -c --write \"**/*\"",
"release": "git fetch --tags && npx standard-version",
"release:alpha": "npm run release -- --prerelease alpha",
"commit": "lint-staged && npx git-cz",
"prepublishOnly": "run-s lint test build",
"install-peers": "npm-install-peers"
},
"lint-staged": {
"**/*.less": "stylelint --fix --syntax less",
"**/*.{ts,tsx}": "npm run lint-staged:js",
"**/*.{tsx,ts,less,md,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"dependencies": {
"joi": "^17.3.0",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/core": "7.11.6",
"@babel/preset-env": "7.11.5",
"@babel/preset-react": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "26.0.14",
"@types/react": "16.9.50",
"@types/react-dom": "16.9.8",
"@typescript-eslint/eslint-plugin": "4.0.1",
"@typescript-eslint/parser": "4.0.1",
"autoprefixer": "9.8.6",
"babel-jest": "26.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"husky": "4.3.0",
"jest": "26.4.2",
"less": "^3.12.2",
"lint-staged": "^10.0.0",
"microbundle-crl": "^0.13.11",
"npm-install-peers": "1.2.1",
"npm-run-all": "4.1.5",
"parcel-bundler": "1.12.4",
"parcel-plugin-less-js-enabled": "^1.0.2",
"parcel-proxy-server": "1.1.0",
"postcss-modules": "3.2.2",
"prettier": "2.1.2",
"stylelint": "^13.0.0",
"stylelint-config-css-modules": "2.2.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-rational-order": "0.1.2",
"stylelint-config-standard": "20.0.0",
"stylelint-declaration-block-no-ignored-properties": "2.3.0",
"typescript": "4.0.3"
},
"files": [
"dist"
]
}