123456789101112131415161718192021222324252627282930313233343536373839404142 |
- {
- "name": "@mightyplow/flags",
- "version": "1.1.0",
- "description": "A utility to handle bitwise flags.",
- "main": "./dist/es5/flags.js",
- "module": "./dist/es6/flags.js",
- "browser": "./dist/es5/flags.min.js",
- "repository": {
- "url": "ssh://git@git.mightyplow.net:30022/mightyplow/flags.git"
- },
- "files": [
- "dist",
- "src"
- ],
- "scripts": {
- "compile": "tsc ./src/flags.ts -d -t ESNext --strict --pretty --outDir ./dist/es6",
- "compile-es5": "npm run compile -- -t ES5 --lib es6 --outDir ./dist/es5",
- "uglify-es5": "terser -cm -o ./dist/es5/flags.min.js --source-map -- ./dist/es5/flags.js",
- "build-es6": "npm run compile",
- "build-es5": "npm run compile-es5",
- "prebuild": "rm -rf dist",
- "build": "npm run build-es6 && npm run build-es5 && npm run uglify-es5",
- "prepublish": "npm run test",
- "test": "mocha -r ts-node/register tests/**/*.test.ts"
- },
- "keywords": [
- "flags",
- "bits"
- ],
- "author": "mightyplow@gmail.com",
- "license": "ISC",
- "dependencies": {},
- "devDependencies": {
- "@types/chai": "^4.2.3",
- "@types/mocha": "^5.2.7",
- "chai": "^4.2.0",
- "mocha": "^6.2.2",
- "terser": "^4.3.9",
- "ts-node": "^8.4.1",
- "typescript": "^3.6.4"
- }
- }
|