-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.2 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
{
"private": false,
"name": "train-sign",
"version": "0.6.0",
"license": "MIT",
"author": "Jimmy Gaussen",
"homepage": "https://nmussy.github.io/train-sign",
"repository": {
"type": "git",
"url": "https://github.com/nmussy/train-sign.git"
},
"scripts": {
"build": "preact build",
"serve": "sirv build --port 8080 --cors --single",
"dev": "preact watch",
"lint": "concurrently yarn:lint:js yarn:lint:css",
"lint:js": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:css": "stylelint 'src/**/*.css'",
"test": "jest ./tests",
"build:gh": "cross-env GITHUB_PAGES=train-sign yarn build && dot-json ./build/manifest.json start_url '/train-sign/'",
"predeploy": "yarn run build:gh",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": [
"build/"
]
},
"dependencies": {
"@rooks/use-key": "^4.8.1",
"base64-js": "^1.5.1",
"copy-to-clipboard": "^3.3.1",
"howler": "^2.2.1",
"preact": "^10.3.1",
"preact-render-to-string": "^5.1.4",
"preact-router": "^3.2.1",
"react-resize-detector": "^6.5.0",
"react-svgmt": "^1.1.11",
"react-use-gesture": "^9.0.0"
},
"devDependencies": {
"@types/enzyme": "^3.10.5",
"@types/howler": "^2.2.1",
"@types/jest": "^26.0.8",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"dot-json": "^1.2.1",
"enzyme": "^3.11.0",
"enzyme-adapter-preact-pure": "^2.2.0",
"eslint": "^6.8.0",
"eslint-config-preact": "^1.1.1",
"eslint-config-prettier": "^7.2.0",
"gh-pages": "^3.1.0",
"jest": "^26.2.2",
"jest-preset-preact": "^4.0.2",
"preact-cli": "^3.0.0",
"prettier": "^2.2.1",
"sirv-cli": "^1.0.0-next.3",
"stylelint": "^13.9.0",
"stylelint-config-standard": "^20.0.0",
"typescript": "^3.7.5"
},
"jest": {
"preset": "jest-preset-preact",
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.ts",
"<rootDir>/tests/__mocks__/setupTests.ts"
]
}
}