1 | {
|
2 | "name": "@buession/shiro",
|
3 | "alias": "shiro",
|
4 | "version": "v1.2.2",
|
5 | "description": "A security framework for JavaScript or TypeScript.",
|
6 | "homepage": "https://shirojs.buession.com/",
|
7 | "author": {
|
8 | "name": "yong.teng",
|
9 | "email": "webmaster@buession.com"
|
10 | },
|
11 | "copyright": "Buession.com Inc.",
|
12 | "license": "MIT",
|
13 | "repository": {
|
14 | "type": "git",
|
15 | "url": "https://github.com/buession/buession-shirojs"
|
16 | },
|
17 | "bugs": "https://github.com/buession/buession-shirojs/issues",
|
18 | "private": false,
|
19 | "scripts": {
|
20 | "build": "rm -fR ./dist && rm -fR ./types && mkdir ./types && rollup -c ./rollup.config.js && tsc -b ./tsconfig.types.json",
|
21 | "lint": "eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'",
|
22 | "codecov": "codecov",
|
23 | "release": "yarn build && yarn publish --access public"
|
24 | },
|
25 | "keywords": [
|
26 | "buession",
|
27 | "shiro",
|
28 | "permission",
|
29 | "security"
|
30 | ],
|
31 | "main": "dist/shiro.cjs.js",
|
32 | "module": "dist/shiro.esm.js",
|
33 | "types": "types/index.d.ts",
|
34 | "typings": "types/index.d.ts",
|
35 | "unpkg": "dist/shiro.min.js",
|
36 | "files": [
|
37 | "types/",
|
38 | "dist/"
|
39 | ],
|
40 | "devDependencies": {
|
41 | "@babel/core": "^7.16.0",
|
42 | "@babel/plugin-syntax-jsx": "^7.16.0",
|
43 | "@rollup/plugin-babel": "^5.3.0",
|
44 | "@rollup/plugin-commonjs": "^21.0.1",
|
45 | "@rollup/plugin-eslint": "^8.0.1",
|
46 | "@rollup/plugin-json": "^4.1.0",
|
47 | "@rollup/plugin-node-resolve": "^13.1.1",
|
48 | "@rollup/plugin-replace": "^3.0.0",
|
49 | "@rollup/plugin-typescript": "^8.3.0",
|
50 | "@types/webpack-env": "^1.16.3",
|
51 | "@typescript-eslint/eslint-plugin": "^4.18.0",
|
52 | "@typescript-eslint/parser": "^4.18.0",
|
53 | "codecov": "^3.8.3",
|
54 | "eslint": "^6.7.2",
|
55 | "eslint-plugin-import": "^2.20.2",
|
56 | "eslint-plugin-node": "^11.1.0",
|
57 | "eslint-plugin-promise": "^4.2.1",
|
58 | "eslint-plugin-standard": "^4.0.0",
|
59 | "gensync": "^1.0.0-beta.2",
|
60 | "rollup": "^2.60.2",
|
61 | "rollup-plugin-terser": "^7.0.2",
|
62 | "typescript": "~4.1.5"
|
63 | },
|
64 | "lint-staged": {
|
65 | "*.{js,jsx,ts,tsx}": [
|
66 | "eslint --fix"
|
67 | ],
|
68 | "package.json": "sort-package-json"
|
69 | }
|
70 | }
|