-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
86 lines (86 loc) · 3.24 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
{
"name": "@polyn/blueprint",
"version": "2.7.0",
"description": "An easy to use, flexible, and powerful validation library for nodejs and browsers",
"types": "index.d.ts",
"exports": {
"node": {
"import": "./index-esmodule.mjs",
"require": "./index.cjs"
},
"browser": {
"import": "./index-esmodule.mjs",
"require": "./index.cjs",
"default": "./dist/blueprint.min.js"
},
"default": "./index.cjs"
},
"scripts": {
"// dev": "json comment =============================================",
"build": "node build.js",
"pre-push": "pnpm run lint && pnpm test && node pre-push.js",
"// lint": "json comment =============================================",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"// test": "json comment =============================================",
"dev": "nodemon -e js --exec 'pnpm run test:cjs'",
"test": "pnpm run test:cjs && pnpm run test:mjs:default && pnpm run test:mjs:exports && pnpm run test:browser && pnpm run test:ts",
"test:ci": "pnpm run test:ts && pnpm run test:mjs:default:ci && pnpm run test:mjs:exports:ci && pnpm run test:browser:ci && pnpm run test:coverage:ci",
"test:browser": "node --conditions=browser test-browser.js -r nyan",
"test:browser:ci": "node --conditions=browser test-browser.js -r tap,summary --no-color",
"test:cjs": "node test.cjs -r nyan",
"test:cjs:ci": "node test.cjs -r tap,summary --no-color",
"test:mjs:default": "node test-default.mjs -r nyan",
"test:mjs:default:ci": "node test-default.mjs -r tap,summary --no-color",
"test:mjs:exports": "node test-exports.mjs -r nyan",
"test:mjs:exports:ci": "node test-exports.mjs -r tap,summary --no-color",
"test:ts": "tsc -p ./tsconfig.json && node examples-typescript.js",
"// coverage": "json comment =============================================",
"test:coverage:ci": "c8 --reporter=text --reporter=text-summary pnpm run test:cjs:ci",
"coverage:ci": "mkdir -p ./coverage && touch ./coverage/lcov.info; c8 report --reporter=text-lcov > ./coverage/lcov.info",
"coveralls": "c8 report --reporter=text-lcov | coveralls"
},
"pre-push": [
"lint",
"test:ci",
"pre-push"
],
"repository": {
"type": "git",
"url": "git+https://github.com/losandes/polyn-blueprint.git"
},
"author": "Andy Wright <[email protected]> (https://github.com/losandes)",
"license": "MIT",
"bugs": {
"url": "https://github.com/losandes/polyn-blueprint/issues"
},
"homepage": "https://github.com/losandes/polyn-blueprint#readme",
"keywords": [
"polymorphism",
"interface",
"class",
"blueprint",
"hilary"
],
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@polyn/blueprint": "link:",
"@types/chai": "^4.3.4",
"c8": "^7.13.0",
"chai": "^4.3.7",
"coveralls": "^3.1.1",
"eslint": "^8.34.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"nodemon": "^2.0.20",
"pre-push": "^0.1.4",
"puppeteer": "^19.7.2",
"supposed": "^1.1.6",
"terminal-adventure": "^1.0.2",
"typescript": "^4.9.5"
}
}