UNPKG

vue-facing-decorator

Version:

Vue typescript class and decorator based component.

57 lines (56 loc) 1.78 kB
{ "name": "vue-facing-decorator", "version": "3.0.4", "description": "Vue typescript class and decorator based component.", "main": "dist/index.js", "module": "dist/esm/index.js", "keywords": [ "vue", "class", "typescript", "decorator", "vue decorator", "vue component", "sfc", "vue class component", "vue component decorator" ], "scripts": { "test-build": "npm run build && npm run test", "test": "npm run test-stage2 && npm run test-stage3", "test-stage2": "env TS_NODE_COMPILER_OPTIONS='{\"experimentalDecorators\": true }' mocha -r ts-node/register test/test.ts", "test-stage3": "env TS_NODE_COMPILER_OPTIONS='{\"experimentalDecorators\": false }' mocha -r ts-node/register test/test.ts", "build": "npm run build:cjs && npm run build:esm", "build:cjs": "./node_modules/.bin/tsc", "build:esm": "./node_modules/.bin/tsc -outDir dist/esm -module ES6", "lint": "eslint .", "lint:fix": "eslint . --fix", "watch": "./node_modules/.bin/tsc -outDir dist/esm -module ES6 --watch" }, "author": "", "license": "MIT", "peerDependencies": { "vue": "^3.0.0" }, "devDependencies": { "@types/chai": "^4.3.1", "@types/mocha": "^9.1.1", "@types/node": "^17.0.41", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.54.0", "@vue/test-utils": "^2.0.2", "chai": "^4.3.6", "eslint": "^8.35.0", "jsdom": "^20.0.0", "jsdom-global": "^3.0.2", "mocha": "^10.0.0", "ts-node": "^10.8.1", "typescript": "^5.1.6", "vue": "^3.2.37" }, "homepage": "https://github.com/facing-dev/vue-facing-decorator", "repository": { "type": "git", "url": "git@github.com:facing-dev/vue-facing-decorator.git" } }