-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathpackage.json
126 lines (126 loc) · 4.36 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
{
"name": "jdenticon",
"version": "3.3.0",
"description": "Javascript identicon generator",
"main": "dist/jdenticon-node.js",
"exports": {
".": {
"types": "./types/module.d.ts",
"node": {
"require": "./dist/jdenticon-node.js",
"import": "./dist/jdenticon-node.mjs"
},
"browser": {
"require": "./dist/jdenticon-module.js",
"import": "./dist/jdenticon-module.mjs"
},
"default": "./dist/jdenticon-node.js"
},
"./browser": {
"types": "./types/module.d.ts",
"import": "./dist/jdenticon-module.mjs",
"default": "./dist/jdenticon-module.js"
},
"./node": {
"types": "./types/module.d.ts",
"import": "./dist/jdenticon-node.mjs",
"default": "./dist/jdenticon-node.js"
},
"./standalone": {
"types": "./types/umd.d.ts",
"default": "./dist/jdenticon.min.js"
}
},
"browser": "dist/jdenticon-module",
"jsdelivr": "dist/jdenticon.min.js",
"unpkg": "dist/jdenticon.min.js",
"types": "types/module.d.ts",
"bin": {
"jdenticon": "bin/jdenticon.js"
},
"engines": {
"node": ">=6.4.0"
},
"dependencies": {
"canvas-renderer": "~2.2.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/jquery": "^3.5.14",
"@types/node14": "npm:@types/node@14",
"@types/node16": "npm:@types/node@16",
"acorn": "^8.8.0",
"blink-diff": "^1.0.13",
"buble": "^0.20.0",
"del": "^6.1.1",
"eslint": "^8.21.0",
"express": "^4.18.1",
"gulp": "^4.0.2",
"gulp-buble": "^0.9.0",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-terser": "^2.1.0",
"gulp-zip": "^5.1.0",
"module-alias": "^2.2.2",
"pngjs": "^6.0.0",
"rollup": "^2.77.2",
"rollup-plugin-strip-banner": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"selenium-webdriver": "^4.20.0",
"source-map-loader": "^1.1.3",
"tap": "^16.3.0",
"typescript3": "npm:typescript@^3.2.4",
"typescript4": "npm:typescript@^4.7.4",
"webpack4": "npm:webpack@4",
"webpack5": "npm:webpack@5"
},
"tap": {
"check-coverage": false
},
"scripts": {
"build": "npm run lint && npm run tsc3 -- -p src/tsconfig.json && gulp build",
"release": "gulp release",
"lint": "eslint ./src/**/*.js",
"test:unit": "gulp build-unit-tests && tap obj/test/unit/*.js",
"test:types": "npm run test:types:browser && npm run test:types:node14 && npm run test:types:node16 && npm run test:types:umd",
"test:types:browser": "npm run tsc3 -- -p ./test/types/module-browser/tsconfig.json && npm run tsc4 -- -p ./test/types/module-browser/tsconfig.json --moduleResolution node16",
"test:types:node14": "npm run tsc3 -- -p ./test/types/module-node14/tsconfig.json",
"test:types:node16": "npm run tsc4 -- -p ./test/types/module-node16/tsconfig.json && npm run tsc4 -- -p ./test/types/module-node16/tsconfig.json --moduleResolution node16",
"test:types:umd": "npm run tsc3 -- -p ./test/types/umd/tsconfig.json && npm run tsc4 -- -p ./test/types/umd/tsconfig.json --moduleResolution node16",
"test:browser-win": "tap ./test/e2e/browser/test.js --test-arg=win --test-arg=chrome,firefox,edge,ie11,ie10,ie9 --timeout=300",
"test:browser-macos": "tap ./test/e2e/browser/test.js --test-arg=macos --test-arg=chrome,firefox,safari --timeout=300",
"test:node-cjs": "tap ./test/e2e/node/test.js",
"test:node-esm": "tap ./test/e2e/node/test.mjs",
"test:webpack4": "cd ./test/e2e/webpack && node runner.js webpack4 && tap ./app.bundle.js --no-coverage",
"test:webpack5": "cd ./test/e2e/webpack && node runner.js webpack5 && tap ./app.bundle.js --no-coverage",
"test:rollup": "cd ./test/e2e/rollup && rollup --config && tap ./app.bundle.js --no-coverage",
"tsc3": "node ./node_modules/typescript3/bin/tsc",
"tsc4": "node ./node_modules/typescript4/bin/tsc"
},
"files": [
"bin/",
"dist/",
"standalone/",
"browser/",
"node/",
"types/*.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/dmester/jdenticon"
},
"bugs": {
"url": "https://github.com/dmester/jdenticon/issues"
},
"keywords": [
"javascript",
"identicon",
"jdenticon",
"avatar"
],
"author": "Daniel Mester Pirttijärvi",
"license": "MIT",
"homepage": "https://jdenticon.com/"
}