UNPKG

@line/liff-mock

Version:

Make testing your LIFF app easy

55 lines (54 loc) 1.61 kB
{ "name": "@line/liff-mock", "version": "1.0.4", "description": "Make testing your LIFF app easy", "main": "dist/index.js", "unpkg": "dist/umd/liff-mock.js", "types": "dist/index.d.ts", "files": [ "dist", "package.json", "README.md" ], "scripts": { "clean": "rm -rf dist", "lint": "eslint src", "format": "prettier --check src", "type-check": "tsc --noEmit", "code-check": "npm run lint && npm run format && npm run type-check && npm run test", "build:cdn": "webpack", "build:npm": "tsc", "build:cdn:prod": "NODE_ENV=production npm run build:cdn", "build:npm:prod": "NODE_ENV=production npm run build:npm", "build": "npm run clean && npm run build:npm && npm run build:cdn", "build:prod": "npm run clean && npm run build:npm:prod && npm run build:cdn:prod", "serve": "webpack serve", "test": "jest", "test:watch": "npm run test -- --watch", "prepublishOnly": "npm run code-check && npm run build:prod" }, "keywords": [ "LIFF" ], "license": "Apache-2.0", "devDependencies": { "@line/liff": "2.27.2", "@types/jest": "27.4.1", "@typescript-eslint/eslint-plugin": "8.44.1", "@typescript-eslint/parser": "8.44.1", "eslint": "8.57.1", "eslint-config-prettier": "8.5.0", "jest": "30.1.3", "jest-environment-jsdom": "30.1.2", "prettier": "2.6.1", "ts-jest": "29.4.4", "ts-loader": "9.2.8", "typescript": "5.9.2", "webpack": "5.72.0", "webpack-cli": "4.9.2", "webpack-dev-server": "4.8.1" }, "peerDependencies": { "@line/liff": ">= 2.19.0" } }