/
package.json
59 lines (59 loc) · 1.78 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
{
"name": "@benbraide/inlinejs-swal",
"version": "1.1.0",
"description": "Run javascript code by embedding them in your HTML using the element as context.",
"main": "./lib/common/index.js",
"module": "./lib/esm/index.js",
"files": [
"dist/",
"lib/",
"src/inlinejs-swal.ts"
],
"scripts": {
"test": "mocha -r jsdom-global/register lib/**/*.spec.js",
"ts-test": "mocha -r ts-node/register -r jsdom-global/register src/**/*.spec.ts",
"dbg-test": "mocha --inspect-brk -r ts-node/register -r jsdom-global/register src/**/*.spec.ts",
"compile": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.esm.json",
"prepublishOnly": "npm run compile",
"build": "webpack -c ./webpack.config.js && webpack -c ./webpack2.config.js",
"upload": "npm run build && npm publish --access=public",
"download": "npm i @benbraide/inlinejs && npm audit fix",
"push": "npm run download && npm run upload"
},
"repository": {
"type": "git",
"url": "git+https://github.com/benbraide/inlinejs-swal.git"
},
"keywords": [
"javascript",
"reactive",
"framework",
"html",
"attribute",
"embed"
],
"author": "Benebo Braide",
"license": "MIT",
"bugs": {
"url": "https://github.com/benbraide/inlinejs-swal/issues"
},
"homepage": "https://github.com/benbraide/inlinejs-swal#readme",
"devDependencies": {
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"chai": "^4.3.4",
"jsdom": "^16.6.0",
"jsdom-global": "^3.0.2",
"mocha": "^9.0.0",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"webpack": "^5.41.0"
},
"dependencies": {
"@benbraide/inlinejs": "^1.2.1",
"sweetalert2": "^11.4.8",
"webpack-cli": "^4.7.2"
}
}