-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
70 lines (70 loc) · 2.09 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
{
"name": "react-split-flap-display",
"version": "0.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"description": "React component for Split Flap (Solari) display",
"author": "Robin Yang",
"homepage": "https://robonyong.github.io/react-split-flap-display",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:robonyong/react-split-flap-display.git"
},
"types": "dist/index.d.ts",
"devDependencies": {
"@types/react": "^16.9.29",
"@types/react-dom": "^16.9.5",
"@types/styled-components": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"husky": "^4.2.5",
"install-peers-cli": "^2.2.0",
"lint-staged": "^10.1.3",
"prepend-file": "^1.3.1",
"prettier": "^2.0.4",
"rollup": "^2.3.1",
"rollup-plugin-typescript2": "^0.27.0",
"ts-node": "^8.8.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"styled-components": "^5.0.1"
},
"scripts": {
"build": "rollup -c",
"build-watch": "rollup -c -w",
"prepublishOnly": "npm run build",
"setup-dev": "install-peers -f && cd example && npm i",
"start-example": "cd example && npm start",
"deploy-example": "cd example && npm run deploy",
"dev": "concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"",
"test": "npm run test:lint && npm run test:unit",
"pretest": "npm run build",
"test:unit": "ts-node test/test.ts",
"test:lint": "eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx",
"test:lint:fix": "npm run test:lint -- --fix"
},
"lint-staged": {
"*.{js,json,css,md,ts,tsx}": [
"prettier --write ."
],
"*.js": "eslint --cache --fix"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}