@crinkle/petrinets
Version:
js petrinet
75 lines (74 loc) • 2.12 kB
JSON
{
"name": "@crinkle/petrinets",
"version": "0.1.0",
"description": "js petrinet",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"clean": "rm -rf lib dist es tsconfig.tsbuildinfo",
"test:watch": "npm test -- --watchAll --coverage",
"build": "npm run clean && tsc && tsc -b ./tsconfig.json",
"prepublish": "npm run build",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|json|ts|tsx)\"",
"format": "npm run prettier -- --list-different",
"lint": "eslint --ignore-path .gitignore .",
"validate": "npm-run-all --parallel lint test build && bundlesize"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kevtiq/petrinets.git"
},
"keywords": ["petri nets", "petrinets"],
"author": "Kevin Pennekamp <github@crinkle.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kevtiq/petrinets/issues"
},
"homepage": "https://github.com/kevtiq/petrinets#readme",
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"bundlesize": "^0.18.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-security": "^1.4.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "npm run validate && lint-staged"
}
},
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [ "eslint" ],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write",
"jest --findRelatedTests",
"git add"
]
},
"bundlesize": [{
"path": "./dist/**/*.js",
"maxSize": "5 kB"
}],
"jest": {
"testMatch": ["**/?(*.)+(spec|test).[jt]s?(x)"],
"testPathIgnorePatterns": ["/node_modules/"],
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
}
}
}