-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
139 lines (139 loc) · 4.05 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "shex-root",
"private": true,
"version": "1.0.0-alpha.24",
"description": "Shape Expressions library compatible with N3 and SPARQL.js - monorepo root",
"author": {
"name": "Eric Prud'hommeaux",
"email": "[email protected]",
"url": "http://www.w3.org/People/Eric/"
},
"keywords": [
"shex",
"shape expressions",
"rdf",
"query",
"parser"
],
"workspaces": {
"packages": [
"packages/*"
]
},
"license": "MIT",
"main": "./shex.js",
"engines": {
"node": ">=0.10.0"
},
"devDependencies": {
"chai": "^4.5.0",
"coveralls": "^3.1.0",
"cross-spawn": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^9.9.0",
"file-loader": "^6.2.0",
"jsdom": "^24.1.1",
"lerna": "^8.1.7",
"mocha": "^10.7.3",
"nock": "^13.5.4",
"nyc": "^17.0.0",
"pre-commit": "^1.2.2",
"shex-test": "github:shexSpec/shexTest#main",
"source-map-support": "^0.5.21",
"style-loader": "^4.0.0",
"sync-request": "^6.1.0",
"terser-webpack-plugin": "^5.3.10",
"timeout-promise-queue": "^0.9.2",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
"scripts": {
"makemake": "node tools/makeMake.js > Makefile",
"clean-all": "find . -maxdepth 3 -name node_modules -exec rm -r {} \\; ; find . -maxdepth 3 -name package-lock.json -exec rm -r {} \\; || true",
"compile": "make ALL",
"rebuild": "npm run clean-all && npx lerna bootstrap && for d in packages/*; do (cd $d && npm install); done && npm ci",
"reinstall-deps": "npm rebuild && npm run webpack && npm run test-all && git add -u",
"show-links": "find . -path \\*node_modules\\* -type l -prune -exec ls -l {} \\;",
"make": "(cd test/ && make test)",
"test": "mocha packages/*/test/*test.js -C -R dot",
"test-all": "TEST_cli=true TEST_browser=true TEST_server=true mocha packages/*/test/*test.js -R dot",
"test-verbose": "mocha packages/*/test/*test.js && TEST_cli=true mocha packages/*/test/*test.js test/cli-test.js && TEST_browser=true mocha packages/*/test/*test.js test/browser-test.js",
"earl999": "mocha packages/*/test/*test.js -C -R mocha-earl-reporter test/Parser-Writer-test.js test/Validation-test.js",
"earl": "cd test && make Parser-Writer-test && make Validation-test",
"lint": "eslint packages/shex-cli/test/findPath.js",
"travisRepo": "./tools/travisRepo.sh",
"browserify-all": "./tools/browserify-all.js #; npm run n3-browserify",
"coverage": "nyc npm run test-all",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"parser-all": "(cd packages/shex-parser/ && npm run parser) && (cd packages/shape-map/ && npm run parser)",
"travis-deploy-once": "travis-deploy-once",
"webpack": "(cd packages/shex-webapp/ && npm run webpack) && (cd packages/extension-map/ && npm run webpack)",
"webpack-analyzer": "cd packages/shex-webapp && npm run webpack-analyzer",
"webpack-monitor": "if [ -d ./node_modules/webpack-monitor ]; then (cd packages/shex-webapp && npm run webpack-monitor) else echo \"You need to install webpack-monitor\"; fi"
},
"publishConfig": {
"access": "private"
},
"repository": {
"type": "git",
"url": "https://github.com/shexSpec/grammar.git"
},
"bugs": {
"url": "https://github.com/shexSpec/grammar/issues"
},
"pre-commit": [
"lint",
"test",
"travisRepo"
],
"eslintConfig": {
"rules": {
"indent": [
2,
2
],
"quotes": [
2,
"double"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"strict": [
2,
"never"
],
"no-multi-spaces": 0,
"key-spacing": 0
},
"env": {
"node": true,
"browser": true
},
"extends": "eslint:recommended",
"globals": {
"it": true,
"should": true,
"describe": true
}
},
"nyc": {
"exclude": [
"**/*Jison.*",
"test/"
],
"extension": [
".js"
],
"reporter": [
"lcov",
"text"
]
}
}