forked from shexjs/shex.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 3.99 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
140
141
142
143
144
145
{
"name": "shex",
"private": true,
"version": "1.0.0-alpha.6",
"description": "Shape Expressions library compatible with N3 and SPARQL.js.",
"author": {
"name": "Eric Prud'hommeaux",
"email": "eric@w3.org",
"url": "http://www.w3.org/People/Eric/"
},
"keywords": [
"shex",
"shape expressions",
"rdf",
"query",
"parser"
],
"workspaces": {
"packages": [
"packages/*",
"website"
]
},
"license": "MIT",
"main": "./shex.js",
"engines": {
"node": ">=0.10.0"
},
"devDependencies": {
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"cross-spawn": "^6.0.5",
"css-loader": "^5.2.0",
"eslint": "^5.16.0",
"file-loader": "^6.2.0",
"jsdom": "^15.1.0",
"koa": "^2.13.0",
"koa-body": "^4.2.0",
"lerna": "^4.0.0",
"marked": "^0.7.0",
"mocha": "^6.2.3",
"n3": "^1.6.2",
"nock": "^10.0.6",
"node-fetch": "^2.6.0",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2",
"shex-test": "github:shexSpec/shexTest#main",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"timeout-promise-queue": "^0.9.2",
"url": "^0.11.0",
"webpack": "^5.31.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.6.0"
},
"scripts": {
"clean-all": "find . -maxdepth 3 -name node_modules -exec rm -r {} \\; ; find . -maxdepth 3 -name package-lock.json -exec rm -r {} \\; || true",
"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 -C -R dot",
"test-all": "TEST_cli=true TEST_browser=true TEST_server=true mocha -R dot",
"test-verbose": "mocha && TEST_cli=true mocha test/cli-test.js && TEST_browser=true mocha test/browser-test.js",
"earl999": "mocha -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-path/ && 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"
},
"mocha": {
"spec": "packages/*/test/*test.js"
},
"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"
]
}
}