ProsperWorks/pw-app-sdk

View on GitHub
package.json

Summary

Maintainability
Test Coverage
A
100%
{
  "name": "pw-app-sdk",
  "version": "0.3.4",
  "description": "ProsperWorks App SDK",
  "main": "lib/pwsdk.js",
  "module": "es/pwsdk.js",
  "types": "lib/index.d.ts",
  "files": [
    "dist",
    "lib",
    "es",
    "src"
  ],
  "scripts": {
    "clean": "rimraf lib es dist",
    "build:umd": "cross-env COMPILE_ENV=umd NODE_ENV=development rollup -c -o dist/pwsdk.js",
    "build:umd:min": "cross-env COMPILE_ENV=umd NODE_ENV=production rollup -c -o dist/pwsdk.min.js",
    "build:es": "cross-env COMPILE_ENV=es rollup -c -o es/pwsdk.js",
    "build:commonjs": "cross-env COMPILE_ENV=cjs rollup -c -o lib/pwsdk.js",
    "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
    "dev:commonjs": "cross-env COMPILE_ENV=cjs rollup -c -w -o lib/pwsdk.js",
    "dev:es": "cross-env COMPILE_ENV=es rollup -c -w -o es/pwsdk.js",
    "test": "karma start --single-run",
    "test:dev": "karma start --auto-watch",
    "lint": "tslint src/**/*.ts test/**/*.ts",
    "prepublishOnly": "npm run clean && npm run lint && npm test && npm run build",
    "docs:clean": "rimraf _book",
    "docs:prepare": "gitbook install",
    "docs:build": "npm run docs:prepare && gitbook build",
    "docs:watch": "npm run docs:prepare && gitbook serve",
    "docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:ProsperWorks/pw-app-sdk.git gh-pages --force"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ProsperWorks/pw-app-sdk.git"
  },
  "keywords": [
    "ProsperWorks",
    "SDK",
    "app",
    "framework",
    "integration"
  ],
  "author": "Guangda Zhang <zhangxiaoyu9350@gmail.com>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/ProsperWorks/pw-app-sdk/issues"
  },
  "homepage": "https://github.com/ProsperWorks/pw-app-sdk#readme",
  "devDependencies": {
    "@types/chai": "^4.1.2",
    "@types/mocha": "^2.2.48",
    "@types/sinon": "^4.1.4",
    "chai": "^4.1.2",
    "cross-env": "^5.1.3",
    "gitbook-cli": "^2.3.2",
    "karma": "^2.0.0",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-coverage-istanbul-reporter": "^1.4.2",
    "karma-mocha": "^1.3.0",
    "karma-mocha-reporter": "^2.2.5",
    "karma-rollup-preprocessor": "^5.1.1",
    "karma-sinon": "^1.0.5",
    "mocha": "^5.0.1",
    "rimraf": "^2.6.2",
    "rollup": "^0.56.2",
    "rollup-plugin-istanbul": "^2.0.1",
    "rollup-plugin-json": "^2.3.0",
    "rollup-plugin-replace": "^2.0.0",
    "rollup-plugin-typescript2": "^0.11.1",
    "rollup-plugin-uglify": "^3.0.0",
    "sinon": "^4.3.0",
    "tslint": "^5.9.1",
    "typescript": "^2.7.2"
  },
  "dependencies": {
    "gitbook-plugin-anker-enable": "0.0.4",
    "gitbook-plugin-edit-link": "^2.0.2",
    "gitbook-plugin-expandable-chapters": "^0.2.0",
    "gitbook-plugin-github": "^2.0.0",
    "gitbook-plugin-prism": "^2.3.0",
    "gitbook-plugin-prism-ext": "^3.1.0"
  }
}