1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {
- "name": "@mightyplow/flags",
- "version": "1.1.2",
- "description": "A utility to handle bitwise flags.",
- "main": "./dist/es5/flags.js",
- "module": "./dist/es6/flags.js",
- "browser": "./dist/es5/flags.min.js",
- "repository": {
- "type": "git",
- "url": "https://git.mightyplow.net/mightyplow/flags"
- },
- "bugs": {
- "url": "https://git.mightyplow.net/mightyplow/flags/issues"
- },
- "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",
- "prepublishOnly": "npm run test",
- "test": "mocha -r ts-node/register tests/**/*.test.ts"
- },
- "keywords": [
- "flags",
- "bits"
- ],
- "author": "mightyplow@gmail.com",
- "license": "Beerware",
- "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",
- "typings": "^2.1.1"
- }
- }
|