UNPKG

@gdjiami/jslib

Version:

Jiami FrontEnd helpers and Services

88 lines (87 loc) 2.4 kB
{ "name": "@gdjiami/jslib", "version": "0.5.2", "description": "Jiami FrontEnd helpers and Services", "main": "index.js", "module": "index.js", "typings": "index.d.ts", "type": "module", "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "sideEffects": false, "scripts": { "prebuild:es6": "rimraf lib", "build:es6": "tsc -b tsconfig-build.json", "prebuild:ie8": "rimraf lib/ie8", "build:ie8": "tsc -b tsconfig-build-ie8.json && babel --config-file ./babel-ie8.config.js lib/ie8 --out-dir lib/ie8", "build": "npm run build:es6 && npm run build:ie8 && cp package.json ./lib && cp README.md ./lib", "lint": "tslint -c tslint.json \"src/**/*.ts?(x)\"", "prettier": "prettier --config .prettierrc --write \"src/**/*.ts?(x)\"", "precommit": "lint-staged", "document": "typedoc --out docs/code/ src --excludeNotExported --exclude \"src/__tests__/*.ts\"", "pub": "npm run build && cd lib && npm publish", "test:type": "tsc -b tsconfig.test.json", "test": "jest --coverage && npm run test:type", "test:watch": "jest --watch", "parcel": "parcel" }, "lint-staged": { "*.ts?(x)": [ "npm run prettier", "git add" ] }, "repository": { "type": "git", "url": "ssh://git@code.ejiahe.com:25522/WEB/jm-jslib.git" }, "keywords": [ "jslib" ], "author": "ivan", "license": "MIT", "peerDependencies": { "tslib": "^1.9.3" }, "jest": { "testMatch": [ "**/__tests__/**" ], "testPathIgnorePatterns": [ "/node_modules/", "/typescript/" ], "roots": [ "src" ] }, "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.4", "@babel/plugin-proposal-class-properties": "^7.7.4", "@babel/plugin-transform-runtime": "^7.7.6", "@babel/preset-env": "^7.7.4", "@babel/preset-typescript": "^7.7.4", "@types/jest": "^24.0.23", "@types/qs": "^6.5.1", "babel-jest": "^24.9.0", "cpx": "^1.5.0", "husky": "^0.14.3", "jest": "^24.9.0", "jh-tslint": "^1.0.0", "lint-staged": "^7.2.0", "prettier": "^1.13.7", "rimraf": "^2.6.2", "tslib": "^1.10.0", "tslint": "^5.10.0", "tslint-eslint-rules": "4.1.1", "tslint-react": "3.2.0", "typedoc": "^0.15.3", "typescript": "^3.4.4" }, "dependencies": { "qs": "^6.5.2" } }