-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.51 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
{
"name": "@simboonlong/utility",
"version": "0.9.0",
"description": "Some web utility functions to use.",
"homepage": "https://github.com/simboonlong/utility",
"repository": {
"type": "git",
"url": "https://github.com/simboonlong/utility.git"
},
"license": "MIT",
"author": "Sim Boon Long",
"types": "./dist/types/index.d.ts",
"typesVersions": {
">=4.9.4": {
".": [
"dist/types/index.d.ts"
],
"feature/*": [
"dist/types/*.d.ts"
]
}
},
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./feature/*": {
"require": "./dist/cjs/*.js",
"import": "./dist/esm/*.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"./dist"
],
"scripts": {
"clean": "npx rimraf ./dist",
"make-badges": "istanbul-badges-readme",
"start": "run-p serve pug:watch 'build:esm -- --watch' 'build:umd:watch'",
"serve": "npx browser-sync start --server public --files public",
"images": "cpy './demo/**/*.(jpg|png|svg)' './public'",
"pug": "node ./demo/index.js",
"pug:watch": "npx nodemon --watch ./demo/ -e pug ./demo/index.js",
"demo": "run-s images build pug",
"e2e": "cypress open",
"e2e:ci": "cypress run",
"lint": "eslint ./src/*.ts",
"test": "jest",
"build": "run-s clean build:*",
"build:types": "tsc --project tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types",
"build:cjs": "tsc --project tsconfig.json --module commonjs --target es2015 --outDir dist/cjs",
"build:esm": "tsc --project tsconfig.json --module es2015 --target es2015 --outDir dist/esm",
"build:umd": "webpack --config webpack.config.js",
"build:umd:watch": "webpack watch --config webpack.config.js",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@testing-library/cypress": "^9.0.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"cpy-cli": "^4.2.0",
"cypress": "^12.7.0",
"eslint": "^8.35.0",
"husky": "^8.0.3",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"npm-run-all": "^4.1.5",
"pug": "^3.0.2",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"publishConfig": {
"access": "public"
}
}