forked from charto/cxsd
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3 KB
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
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@wikipathways/cxsd",
"version": "0.2.10",
"description": "Streaming XSD parser and XML parser generator with TypeScript output",
"main": "./dist/schema.js",
"typings": "./dist/schema.d.ts",
"bin": {
"cxsd": "bin/cxsd"
},
"files": [
"dist",
"bin",
"package.json",
"package-lock.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"prepare": "ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d \"$ALLE_DIR\"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd \"$ALLE_DIR\" && npm run '@wikipathways/cxsd:build'); else npm run build; fi",
"prepublishOnly": "npm i --package-lock-only && ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d \"$ALLE_DIR\"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd \"$ALLE_DIR\" && npm run '@wikipathways/cxsd:test'); else npm run test; fi",
"postpublish": "TAG=\"v$(jq -r .version package.json)\" && git commit -am \"Bumped to version $TAG\" && git tag -a $TAG -m \"Published version $TAG\" && git push origin $TAG",
"test": "npm-run-all --silent test:* # In case of error, remove --silent to debug.",
"test:build": "npm-run-all test:build:*",
"test:build:clean": "mkdir -p cache && rm -rf cache && cd test && mkdir -p cache && rm -rf cache && mkdir -p xmlns && rm -rf xmlns && cd ..",
"test:build:compile": "npm-run-all test:build:compile:*",
"test:build:compile:GPML2013a": "cd test && node ../bin/cxsd https://raw.githubusercontent.com/ariutta/GPML/master/GPML2013a.xsd && cd ..",
"test:build:compile:dir-example": "cd test && node ../bin/cxsd ./input/dir-example.xsd && cd ..",
"test:run": "jest"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testEnvironment": "node",
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testPathIgnorePatterns": [
"<rootDir>/(node_modules)/"
],
"transformIgnorePatterns": [
"<rootDir>/(node_modules)/"
],
"haste": {
"providesModuleNodeModules": [
".*"
]
},
"testRegex": "(/src/.*\\.test\\.(ts|tsx|js))$"
},
"author": "Juha Järvi",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ariutta/cxsd.git"
},
"bugs": {
"url": "https://github.com/charto/cxsd/issues"
},
"homepage": "https://github.com/charto/cxsd#readme",
"keywords": [
"xsd",
"dts",
"xml",
"schema",
"parser",
"typescript"
],
"dependencies": {
"@types/bluebird": "^3.5.28",
"@types/node": "^10.17.0",
"@wikipathways/cget": "0.1.7",
"@wikipathways/cxml": "0.2.14",
"bluebird": "^3.7.1",
"commander": "^2.20.3",
"node-expat": "^2.3.18",
"source-map-support": "^0.5.16"
},
"devDependencies": {
"@types/jest": "^24.0.21",
"jest": "^24.9.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
}
}