-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
84 lines (84 loc) · 2.88 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
{
"name": "disable-devtool",
"version": "1.0.0",
"description": "This script can disable Devtool, help to secure your code",
"source": "src/index.js",
"main": "./lib/commonjs/index.js",
"module": "./lib/es/index.js",
"types": "./lib/types/index.d.ts",
"files": [
"lib/",
"LICENSE"
],
"exports": {
"./package.json": "./package.json",
".": {
"development": {
"types": "./types/index.d.ts",
"module": "./lib/es/index.js",
"import": "./lib/es/index.js",
"require": "./lib/commonjs/index.js",
"default": "./lib/es/index.js"
},
"production": {
"types": "./types/index.d.ts",
"module": "./lib/es/index.min.js",
"import": "./lib/es/index.min.js",
"require": "./lib/commonjs/index.min.js",
"default": "./lib/es/index.min.js"
},
"types": "./types/index.d.ts",
"module": "./lib/es/index.min.js",
"import": "./lib/es/index.min.js",
"require": "./lib/commonjs/index.min.js",
"default": "./lib/es/index.min.js"
}
},
"scripts": {
"build": "npm-run-all clean build:**",
"prepublishOnly": "npm run build",
"tsc": "tsc -p tsconfig.json",
"clean": "rimraf lib",
"build:types": "tsc --emitDeclarationOnly --sourceMap --declaration --module system --outDir lib/types",
"build:es": "rollup -c rollup.config.mjs --format es && rollup -c rollup.config.mjs --format es --environment production",
"build:cjs": "rollup -c rollup.config.mjs --format cjs && rollup -c rollup.config.mjs --format cjs --environment production",
"build:umd": "rollup -c rollup.config.mjs --format umd && rollup -c rollup.config.mjs --format umd --environment production",
"build:amd": "rollup -c rollup.config.mjs --format amd && rollup -c rollup.config.mjs --format amd --environment production",
"build:iife": "rollup -c rollup.config.mjs --format iife && rollup -c rollup.config.mjs --format iife --environment production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DungGramer/disable-devtool.git"
},
"keywords": [
"devtool",
"firebug",
"devtools-detect",
"disable-devtool"
],
"funding": "https://github.com/sponsors/DungGramer",
"author": {
"name": "DungGramer",
"email": "[email protected]",
"url": "https://dunggramer.com"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/DungGramer/disable-devtool/issues"
},
"homepage": "https://github.com/DungGramer/disable-devtool#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"npm-run-all": "^4.1.5",
"rollup": "^4.1.4",
"rollup-plugin-typescript2": "^0.36.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"yargs": "^17.7.2"
}
}