-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
77 lines (77 loc) · 2.18 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
{
"name": "@lona/serialization",
"version": "0.7.0",
"description": "Convert Lona files between serialization formats",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": "lib/bin.js",
"browser": "dist/lona-serialization.umd.js",
"files": [
"dist",
"lib"
],
"scripts": {
"prettier:base": "prettier --write",
"prettify": "find . -name \"*.ts\" | grep -v -f .gitignore | xargs npm run prettier:base",
"test": "jest",
"test:watch": "jest --watch",
"build": "npm run build:node && npm run build:web && npm run build:swift",
"build:swift": "ts-node ./scripts/build-swift-file.ts",
"build:web": "webpack",
"build:node": "npm run build:src && npm run build:copyPegjs",
"build:copyPegjs": "cp src/formats/source/grammar/logic.swift.pegjs lib/formats/source/grammar/logic.swift.pegjs",
"build:src": "npm run clean && tsc --declaration",
"clean": "rm -rf ./build",
"prepublishOnly": "npm run build"
},
"author": "Devin Abbott",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Lona/serialization.git"
},
"bugs": {
"url": "https://github.com/Lona/serialization/issues"
},
"homepage": "https://github.com/Lona/serialization",
"dependencies": {
"@mdx-js/mdx": "^1.5.0",
"json-stable-stringify": "^1.0.1",
"mdast-flatten-image-paragraphs": "^1.0.0",
"mdast-move-images-to-root": "^1.0.0",
"pegjs": "^0.10.0",
"rehype": "^9.0.1",
"unist-util-flatmap": "^1.0.0",
"uuid": "^7.0.2",
"yargs": "^15.1.0"
},
"devDependencies": {
"@types/jest": "^26.0.5",
"@types/json-stable-stringify": "^1.0.32",
"@types/node": "^13.9.0",
"@types/pegjs": "^0.10.1",
"@types/uuid": "^7.0.0",
"jest": "^26.1.0",
"pegjs-loader": "^0.5.5",
"prettier": "^1.19.1",
"ts-jest": "^26.1.3",
"ts-node": "^8.6.2",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.2.3"
},
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "es5",
"semi": false
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"lib",
"mocks"
]
}
}