UNPKG

transformation-matrix

Version:

2d transformation matrix functions written in ES6 syntax. Tree shaking ready!

78 lines (77 loc) 2.57 kB
{ "name": "transformation-matrix", "version": "3.0.0", "description": "2d transformation matrix functions written in ES6 syntax. Tree shaking ready!", "main": "./build-commonjs/index.js", "typings": "./src/transformation-matrix.d.ts", "module": "./src/index.js", "jsnext:main": "./src/index.js", "unpkg": "./build-umd/transformation-matrix.min.js", "files": [ "README.md", "build-commonjs", "build-umd", "src", "tests", "transformation-matrix.d.ts", "babel.config.js" ], "scripts": { "build": "npm run docs:api && npm run build:parser && npm run build:lib", "test": "npm run test:standard && npm run test:coverage && npm run test:typescript", "clean": "del build-* coverage", "build:parser": "peggy --format es -o src/fromTransformAttribute.autogenerated.js src/fromTransformAttribute.peggy", "build:lib": "npm run clean && npm run build:commonjs && npm run build:umd && npm run build:umd-min", "build:commonjs": "babel src --out-dir build-commonjs", "build:umd": "webpack --config ./webpack-umd.config.js", "build:umd-min": "webpack --config ./webpack-umd.config.js --env minimize", "test:jest": "jest", "test:coverage": "jest --coverage", "test:standard": "standard", "test:typescript": "tsc --strict src/*.ts", "docs:api": "jsdoc2md --template docs/templates/api.hbs --example-lang js --heading-depth 2 src/*.js > docs/api.md" }, "repository": { "type": "git", "url": "git+https://github.com/chrvadala/transformation-matrix.git" }, "keywords": [ "transformation-matrix", "2d-transformations", "three-shaking", "scale", "zoom", "translate", "transform" ], "author": "chrvadala", "license": "MIT", "bugs": { "url": "https://github.com/chrvadala/transformation-matrix/issues" }, "homepage": "https://github.com/chrvadala/transformation-matrix#readme", "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.8", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-transform-runtime": "^7.26.8", "@babel/preset-env": "^7.26.8", "@types/jest": "^29.5.14", "babel-loader": "^9.2.1", "del-cli": "^6.0.0", "jest": "^29.7.0", "jsdoc-to-markdown": "^9.1.1", "peggy": "^4.2.0", "standard": "^17.1.2", "typescript": "^5.7.3", "webpack": "^5.97.1", "webpack-cli": "^6.0.1" }, "standard": { "ignore": [ "src/*.autogenerated.js", "example.js" ] }, "funding": "https://github.com/sponsors/chrvadala" }