68 wiersze
2.2 KiB
JSON
68 wiersze
2.2 KiB
JSON
{
|
|
"name": "mythicsymbolic",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"deploy": "npm run build && gh-pages -d dist",
|
|
"prettier:check": "prettier --check lib/**/*.ts lib/**/*.tsx",
|
|
"prettier:fix": "prettier --write lib/**/*.ts lib/**/*.tsx",
|
|
"typecheck": "tsc --noemit",
|
|
"eslint": "eslint lib --ext .ts,.tsx --max-warnings 1",
|
|
"lint": "npm run prettier:check && npm run typecheck && npm run eslint",
|
|
"test:watch": "jest --watch",
|
|
"test": "jest",
|
|
"esbuild": "esbuild lib/browser-main.tsx --bundle --outfile=dist/browser-main.js --external:stylus --define:global=window --inject:./lib/esbuild-shims.js --target=es2018 --sourcemap",
|
|
"esbuild:build": "npm run esbuild -- --define:process.env.NODE_ENV=\\\"production\\\" --minify",
|
|
"esbuild:serve": "npm run esbuild -- --servedir=dist --serve=1234",
|
|
"build-prereqs": "node build-vocabulary.js && node build-avro-typescript.js",
|
|
"build": "npm run build-prereqs && npm run esbuild:build",
|
|
"watch": "npm run build-prereqs && npm run esbuild:serve"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"dist",
|
|
".cache"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@babel/preset-react": "^7.13.13",
|
|
"@babel/preset-typescript": "^7.12.7",
|
|
"@babel/register": "^7.12.10",
|
|
"@types/cheerio": "^0.22.23",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/node": "^14.14.22",
|
|
"@types/react": "^17.0.1",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-helmet": "^6.1.1",
|
|
"avro-js": "^1.10.2",
|
|
"avro-typescript": "^1.1.0",
|
|
"babel-jest": "^26.6.3",
|
|
"buffer": "^6.0.3",
|
|
"cheerio": "^1.0.0-rc.10",
|
|
"classnames": "^2.3.1",
|
|
"colorspaces": "^0.1.5",
|
|
"esbuild": "^0.12.5",
|
|
"gh-pages": "^3.1.0",
|
|
"hsluv": "^0.1.0",
|
|
"jest": "^26.6.3",
|
|
"prettier": "^2.2.1",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-helmet": "^6.1.0",
|
|
"toml": "^3.0.0",
|
|
"typescript": "^4.1.3",
|
|
"util": "^0.12.3"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
"@typescript-eslint/parser": "^4.25.0",
|
|
"eslint": "^7.27.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0"
|
|
}
|
|
}
|