-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
61 lines (61 loc) · 2.27 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
{
"name": "patrun",
"version": "7.2.7",
"main": "dist/patrun.js",
"browser": "dist/patrun.min.js",
"types": "dist/patrun.d.ts",
"description": "A fast pattern matcher on JavaScript object properties.",
"homepage": "https://github.com/rjrodger/patrun",
"keywords": [
"pattern",
"matcher",
"object",
"property",
"json"
],
"author": "Richard Rodger (http://richardrodger.com)",
"repository": {
"type": "git",
"url": "git://github.com/rjrodger/patrun.git"
},
"scripts": {
"watch": "tsc -w -d",
"test": "lab -v -L -P test -t 90 --sourcemaps --transform node_modules/lab-transform-typescript -r console -o stdout -r html -o test/coverage.html",
"test-web": "browserify -o test-web/test-web.js -e test/patrun.test.js -s Patrun -im -i assert -i @hapi/lab && open test-web/index.html",
"coveralls": "lab -s -P test -r lcov | coveralls",
"prettier": "prettier --write --no-semi --single-quote *.ts test/*.js",
"build": "tsc -d && cp dist/patrun.js dist/patrun.min.js && browserify -o dist/patrun.min.js -e dist/patrun.js -s Patrun -im -i assert -p tinyify",
"clean": "rm -rf node_modules yarn.lock package-lock.json",
"reset": "npm run clean && npm i && npm run build && npm test",
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
"repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
"repo-publish-quick": "npm run prettier && npm run build && npm run test && npm run test-web && npm run repo-tag && npm publish --registry https://registry.npmjs.org "
},
"license": "MIT",
"files": [
"patrun.ts",
"dist",
"LICENSE"
],
"contributors": [
"Adrien Becchis (https://github.com/AdrieanKhisbe)"
],
"dependencies": {
"gex": "^4.0.1"
},
"devDependencies": {
"@hapi/code": "^9.0.3",
"@hapi/lab": "^25.2.0",
"@types/node": "^20.14.10",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"coveralls": "^3.1.1",
"hapi-lab-shim": "0.0.2",
"jsonic": "^1.0.1",
"lab-transform-typescript": "^3.0.1",
"prettier": "^3.3.3",
"serve": "^14.2.3",
"tinyify": "^4.0.0",
"typescript": "^5.5.3"
}
}