-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
53 lines (53 loc) · 1.93 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
{
"name": "data-target",
"version": "0.0.16",
"description": "Allows HTML anchors and forms to render the response inside another element through the usage of a data-target attribute",
"main": "dist/data-target.min.js",
"scripts": {
"test": "npm run transpile-for-tests && npm run run-tests",
"transpile-for-tests": "rimraf --glob './e2e-tests/build' && tsc --project ./src/tsconfig.json --outDir ./e2e-tests/build",
"run-tests": "npx playwright test --config=e2e-tests/playwright.config.ts",
"build": "npm run transpile && npm run minify",
"transpile": "tsc --project ./src/tsconfig.json",
"minify": "uglifyjs ./dist/data-target.js --compress --mangle --output ./dist/data-target.min.js --source-map",
"lint": "eslint --fix src/*.ts && eslint --fix e2e-tests/*.ts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/andremarcondesteixeira/data-target"
},
"keywords": [
"navigation",
"hyperlinks",
"anchors",
"forms",
"post",
"get",
"html",
"utility",
"partials"
],
"author": "André Marcondes Teixeira",
"license": "MIT",
"bugs": {
"url": "https://github.com/andremarcondesteixeira/data-target/issues"
},
"homepage": "https://andremarcondesteixeira.github.io/data-target/",
"devDependencies": {
"@playwright/test": "^1.25.0",
"@types/express": "^4.17.13",
"@types/express-useragent": "^1.0.2",
"@types/node": "^18.7.6",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"dotenv": "^16.0.1",
"eslint": "^8.22.0",
"eslint-config-google": "^0.14.0",
"express": "^4.18.1",
"husky": "^8.0.1",
"rimraf": "^5.0.1",
"typescript": "^4.7.4",
"uglify-js": "^3.17.0"
}
}