/
package.json
57 lines (57 loc) · 1.73 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
{
"name": "slyfox",
"version": "0.2.2",
"description": "Restore overwritten methods on the window and document... Like a fox.",
"exports": "./dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"type": "module",
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:umd",
"build:esm": "tsc",
"build:umd": "rollup -c",
"clean": "rimraf dist",
"format": "prettier --write \"{{source,test}/**/*.{js,ts},rollup.config.js}\"",
"pre:commit": "lint-staged",
"prepare": "simple-git-hooks",
"prepublishOnly": "npm run build",
"test": "npm run clean && npm run test:integration",
"test:format": "prettier --check \"{{source,test}/**/*.{js,ts},rollup.config.js}\"",
"test:integration": "npm run build:umd && mocha \"test/integration/**/*.spec.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/perry-mitchell/slyfox.git"
},
"files": [
"dist/**/*"
],
"lint-staged": {
"{{source,test}/**/*.{js,ts},rollup.config.js}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "npm run pre:commit"
},
"author": "Perry Mitchell <perry@perrymitchell.net>",
"license": "MIT",
"bugs": {
"url": "https://github.com/perry-mitchell/slyfox/issues"
},
"homepage": "https://github.com/perry-mitchell/slyfox#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^20.10.1",
"chai": "^4.3.10",
"lint-staged": "^15.1.0",
"mocha": "^10.2.0",
"prettier": "^3.1.0",
"puppeteer": "^21.5.2",
"rimraf": "^5.0.5",
"rollup": "^4.6.1",
"simple-git-hooks": "^2.9.0",
"tslib": "^2.6.2",
"typescript": "^5.3.2"
}
}