-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
51 lines (51 loc) · 1.5 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
{
"name": "pagino",
"version": "1.4.2",
"description": "This project aims to handle pagination core object in Javascript independent of UI",
"main": "index.cjs",
"type": "module",
"module": "index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./index.cjs",
"import": "./index.js"
}
},
"types": "index.d.ts",
"scripts": {
"build-commonjs": "tsc --target ES5 && mv ./index.js ./index.cjs",
"build-esmodule": "tsc --target ES2020",
"build": "npm run build-commonjs && npm run build-esmodule",
"test": "jest",
"minify": "minify ./index.cjs --out-file ./index.cjs --mangle.keepClassName",
"format": "prettier ./src --write --ignore-unknown",
"preversion": "npm run test && npm run format",
"version": "npm run build && npm run minify",
"postversion": "git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pagino/pagino-js.git"
},
"keywords": [
"Pagination"
],
"author": "Behnam Mohammadi",
"license": "MIT",
"bugs": {
"url": "https://github.com/pagino/pagino-js/issues"
},
"homepage": "https://github.com/pagino/pagino-js#readme",
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/preset-env": "^7.12.16",
"@babel/preset-typescript": "^7.12.16",
"@types/jest": "^26.0.20",
"babel-jest": "^26.6.3",
"babel-minify": "^0.5.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"typescript": "^4.1.5"
}
}