-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.97 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
{
"name": "@openhps/localstorage",
"version": "1.0.1",
"description": "Open Hybrid Positioning System",
"author": "Maxim Van de Wynckel",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/OpenHPS/openhps-localstorage.git"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"unpkg": "dist/web/openhps-localstorage.min.js",
"jsdelivr": "dist/web/openhps-localstorage.min.js",
"browser": {
"node-localstorage": false
},
"files": [
"dist/**/*",
"src/**/*"
],
"scripts": {
"test": "mocha --config test/.mocharc.json",
"cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura",
"cover:ci": "nyc mocha --config test/.mocharc.json --reporter mocha-junit-reporter && nyc report --reporter=cobertura",
"lint": "eslint src/**",
"clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
"build": "npm run clean && npm-run-all --parallel build:esm build:cjs build:declarations build:typedoc && npm run build:webpack",
"build:declarations": "tsc --declaration --emitDeclarationOnly --outdir dist/types",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:webpack": "npm-run-all --parallel build:webpack:*",
"build:webpack:prod": "webpack --env prod --progress --",
"build:webpack:dev": "webpack --env dev --progress --",
"build:typedoc": "typedoc --options docs/typedoc.json",
"publish:development": "npm run bump:beta && npm publish --tag dev",
"publish:beta": "npm run bump:beta && npm publish --tag beta",
"publish:release": "npm run bump:beta && npm publish --tag latest",
"bump:development": "standard-version --prerelease alpha -m 'chore(alpha): %s' --skip.changelog",
"bump:beta": "standard-version --prerelease beta -m 'chore(beta): %s' --skip.changelog",
"bump:release": "standard-version -m 'chore(release): %s' --skip.changelog"
},
"keywords": [
"openhps",
"localstorage"
],
"dependencies": {
"lz-string": "^1.5.0",
"node-localstorage": "^3.0.5"
},
"peerDependencies": {
"@openhps/core": ">=0.5.13",
"reflect-metadata": ">=0.1.13"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@openhps/core": ">=0.5.13",
"@purtuga/esm-webpack-plugin": "^1.5.0",
"@types/chai": "^4.3.9",
"@types/lz-string": "^1.3.34",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"chai": "^4.3.10",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^3.0.3",
"reflect-metadata": ">=0.1.13",
"shx": "^0.3.4",
"standard-version": "^9.5.0",
"terser-webpack-plugin": "^5.3.9",
"ts-node": ">=10.9.1",
"typedoc": "^0.25.2",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"nyc": {
"branches": 0,
"lines": 20,
"functions": 17,
"statements": 20,
"include": [
"src"
],
"exclude": [
"test"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"cache": true,
"all": true,
"check-coverage": true,
"report-dir": "./coverage"
},
"engines": {
"node": ">=12.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}