-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 3.85 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
{
"name": "@rondinif/phytojs",
"version": "1.3.0",
"description": "A modern javascript toolkit to search about plants on open data",
"keywords": [
"botanica",
"botanical",
"flowers",
"garden",
"grow vegetables",
"herbs",
"linked data",
"plants",
"rdf",
"spqrql",
"vegetables",
"vegetable garden",
"wikidata",
"wkbotanica"
],
"author": "rondinif",
"license": "MIT",
"homepage": "https://github.com/rondinif/phytojs#readme",
"bugs": {
"url": "https://github.com/rondinif/phytojs/issues",
"email": "rondinif+phytojs@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/rondinif/phytojs.git"
},
"main": "umd/phyto.js",
"module": "esm/phyto.js",
"scripts": {
"remediations": "sed -i.backup 's/\\.\\.\\/esm\\//\\.\\.\\/umd\\//' ./umd/phyto.js",
"prepare": "rollup --config && npm run remediations",
"test": "NODE_ENV=test npx tap test/**/*.test.esm.js",
"test:xo": "xo && NODE_ENV=test npx tap test/**/*.test.esm.js",
"cover": "NODE_ENV=test npx tap test/**/*.test.esm.js --cov --coverage-report=lcov",
"coveralls": "NODE_ENV=test npm run cover && cat ./coverage/lcov.info | coveralls",
"test-spec": "NODE_ENV=test npx tap test/**/*.test.esm.js | node_modules/.bin/tap-spec",
"test-main": "NODE_ENV=test node -r esm test/main/index.test.esm.js | node_modules/.bin/tap-spec",
"test-log": "NODE_ENV=test node -r esm test/log/log.test.esm.js | node_modules/.bin/tap-spec",
"test-config": "NODE_ENV=test node -r esm test/config/config.test.esm.js | node_modules/.bin/tap-spec",
"test-config-stubbed": "NODE_ENV=test node -r esm test/config/config.isUnderTest.stubbed.env.test.esm.js | node_modules/.bin/tap-spec",
"test-odla": "NODE_ENV=test node -r esm test/lib/OpenDataLogicAgent.test.esm.js | node_modules/.bin/tap-spec",
"test-odla-special": "NODE_ENV=test node -r esm test/lib/OpenDataLogicAgent.special.test.esm.js | node_modules/.bin/tap-spec",
"test-odla-stubbed": "NODE_ENV=test node -r esm test/lib/OpenDataLogicAgent.stubbed.test.esm.js | node_modules/.bin/tap-spec",
"test-odla-sandboxed": "NODE_ENV=test node -r esm test/lib/OpenDataLogicAgent.sandboxed.test.esm.js | node_modules/.bin/tap-spec",
"cover-odla": "NODE_ENV=test npx tap test/lib/*.test.esm.js --cov --coverage-report=lcov",
"sample-umd": "node samples/index.umd.js && node samples/index.umd.1.js && node samples/index.umd.2.js && node samples/index.umd.3.js",
"sample-umd-esm": "node -r esm ./samples/index.umd.esm.js",
"sample-esm": "node -r esm samples/index.esm.js",
"clean": "rm -rf .nyc_output/ && rm -rf coverage/",
"clean:prepare": "npm run clean && npm run prepare",
"clean:prepare:test:xo": "npm run clean:prepare && npm run test:xo",
"clean:prepare:cover": "npm run clean:prepare:test:xo && npm run cover",
"sonar-scanner": "xo --reporter json > .eslint/report.json && sonar-scanner -X",
"start": "http-server docs/mvc"
},
"files": [
"esm/*",
"umd/*"
],
"devDependencies": {
"@roarr/cli": "^1.3.1",
"chalk": "^2.4.2",
"commitlint": "^11.0.0",
"coveralls": "^3.0.3",
"dotenv-flow": "^0.2.0",
"es6-promise": "^4.2.4",
"esm": "^3.2.22",
"isomorphic-fetch": "^3.0.0",
"loglevel": "^1.6.1",
"nyc": "^14.1.0",
"proxyquire": "^2.1.0",
"roarr": "^2.13.0",
"rollup": "^1.11.0",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^7.2.7",
"tap": "^13.1.2",
"tap-spec": "^5.0.0",
"tape": "^4.10.1",
"tape-nock": "^1.6.1",
"xo": "^0.33.1"
},
"dependencies": {},
"xo": {
"ignores": [
"esm",
"umd",
"docs",
"samples",
"script"
],
"rules": {
"unicorn/filename-case": 1,
"no-use-extend-native/no-use-extend-native": 1,
"camelcase": 1,
"import/extensions": 1,
"import/first": 1
}
}
}