-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.38 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
{
"name": "board-state",
"version": "0.1.3",
"description": "build turn-based board game state machines with hidden information",
"keywords": [
"boardgames"
],
"main": "./dist/main/game.js",
"browser": "./dist/browser/game.js",
"module": "./dist/module/game.js",
"directories": {
"example": "examples"
},
"files": [
"/dist",
"/vendor"
],
"scripts": {
"build-browser": "cross-env BABEL_ENV=browser babel ./game.js ./vendor-json-delta.js --out-dir ./dist/browser/ --source-maps",
"build-module": "cross-env BABEL_ENV=module babel ./game.js ./vendor-json-delta.js --out-dir ./dist/module --source-maps",
"build-node": "babel ./game.js ./vendor-json-delta.js --out-dir ./dist/main --source-maps",
"build": "npm run clean && npm run build-node && npm run build-browser && npm run build-module",
"clean": "shx rm -rf dist",
"prepare": "npm run build",
"test": "jest"
},
"author": "Adam Biltcliffe",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/adambiltcliffe/board-state.git"
},
"dependencies": {
"deepcopy": "^2.0.0",
"immer": "^3.3.0"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"babel-jest": "^24.9.0",
"cross-env": "^5.2.1",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"shx": "^0.3.2"
}
}