forked from sevenseat/rr-2048
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 1.5 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
{
"name": "re2048",
"version": "0.1.0",
"private": false,
"dependencies": {
"react": "^16.1.1",
"react-dom": "^16.1.1",
"reason-scripts": "0.7.0"
},
"homepage": "https://sevenseat.github.io/rr-2048",
"keywords": [],
"author": "John Schweikert",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sevenseat/rr-2048.git"
},
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"format": "npm run format:refmt; npm run format:prettier",
"format:refmt": "refmt --in-place src/**/*.re",
"format:prettier":
"prettier --single-quote --write src/**/*.{js,jsx,json,css} *.json",
"start": "react-scripts start",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm test -- --coverage",
"eject": "react-scripts eject",
"precommit": "lint-staged",
"prepare": "npm link bs-platform"
},
"lint-staged": {
"src/**/*.{re}": ["refmt --in-place", "git add"],
"src/**/*.{js,jsx,json,css}": [
"prettier --single-quote --write",
"jest --bail --findRelatedTests",
"git add"
],
"*.json": ["prettier --single-quote --write", "git add"]
},
"devDependencies": {
"bs-jest": "^0.2.0",
"gh-pages": "^1.1.0",
"husky": "^0.14.3",
"lint-staged": "^5.0.0",
"prettier": "^1.8.2",
"reason-react": "^0.3.0",
"source-map-explorer": "^1.5.0"
}
}