@cotype/core
Version:
<h2 align="center"> <img src="https://cotype.dev/logo.svg" alt="cotype" /> </h2>
141 lines (140 loc) • 4.74 kB
JSON
{
"name": "@cotype/core",
"version": "1.14.4",
"main": "lib/",
"typings": "lib/index.d.ts",
"bin": {
"cotype_create_seeds": "./scripts/createSeeds.js"
},
"scripts": {
"clean": "rm -rf ./dist && rm -rf ./lib",
"reinit": "rm -rf node_modules; rm -rf demo/node_modules; rm demo/dev_db; rm -rf client/node-modules; npm i",
"prepare": "concurrently npm:install:client npm:install:demo npm:schema",
"install:client": "npm --prefix client ci",
"install:demo": "npm --prefix demo ci",
"lint": "tslint '**/*.{ts,tsx}' --exclude '**/node_modules/**/*' --exclude '**/lib/**'",
"test": "jest",
"schema": "npm run schema:models & npm run schema:navigation",
"schema:models": "typescript-json-schema --aliasRefs --noExtraProps ./tsconfig.json ModelsJson > ./models.schema.json",
"schema:navigation": "typescript-json-schema --topRef --aliasRefs ./tsconfig.json NavigationJson > ./navigation.schema.json",
"build": "rm -rf dist && NODE_ENV=production concurrently npm:build:client npm:build:server npm:schema",
"build:server": "tsc",
"build:client": "npm --prefix client run build && npm --prefix client run bundle",
"watch:client": "npm --prefix client run watch",
"dev": "NODE_ENV=development npm --prefix demo run dev",
"prod": "NODE_ENV=production npm --prefix demo start",
"start": "npm run dev",
"testserver": "npm --prefix demo run testserver",
"testserver:ci": "npm --prefix demo run testserver:ci",
"e2e": "with-server --run=testserver:ci npm run cypress -- -- ",
"cypress": "cypress run --config=baseUrl=$SERVER_URL",
"e2e:dev": "with-server --run=testserver npm run cypress:dev",
"cypress:dev": "cypress open --config=baseUrl=$SERVER_URL",
"create-test-seeds": "./scripts/createSeeds.js ./cypress/support/knexfile.js"
},
"repository": {
"type": "git",
"url": "https://github.com/cotype/core.git"
},
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@slite/quill-delta-markdown": "0.0.8",
"@types/bcryptjs": "2.4.2",
"@types/cookie": "^0.3.2",
"@types/cookie-session": "^2.0.36",
"@types/crypto-random-string": "^2.0.0",
"@types/got": "^9.4.1",
"@types/graphql": "^14.0.7",
"@types/image-size": "^0.7.0",
"@types/fs-extra": "^7.0.0",
"@types/knex": "^0.16.1",
"@types/lodash": "^4.14.132",
"@types/multer": "^1.3.7",
"@types/pluralize": "0.0.29",
"@types/swagger-ui-dist": "^3.0.0",
"@types/temp-write": "^3.3.0",
"@types/tempy": "^0.3.0",
"bcryptjs": "2.4.3",
"change-case": "^3.1.0",
"cookie-session": "^1.3.3",
"crypto-random-string": "^3.0.0",
"express": "^4.17.1",
"express-promise-router": "^3.0.3",
"fs-extra": "^8.0.0",
"glob-promise": "^3.4.0",
"got": "^9.6.0",
"graphql": "^14.1.1",
"hasha": "^5.0.0",
"image-size": "^0.7.2",
"knex": "^0.16.3",
"lodash": "^4.17.11",
"mdi-json": "^1.0.0",
"mudder": "^1.0.4",
"multer": "^1.4.0",
"openapi3-ts": "^1.3.0",
"pg-monitor": "^1.0.0",
"pluralize": "^8.0.0",
"quill": "^1.3.6",
"quill-delta-to-html": "^0.10.7",
"swagger-ui-dist": "^3.21.0",
"temp-write": "^4.0.0",
"tempy": "^0.3.0"
},
"devDependencies": {
"@cotype/local-thumbnail-provider": "0.0.2",
"@types/jest": "^24.0.11",
"@types/qs": "^6.5.2",
"@types/supertest": "^2.0.7",
"@types/tough-cookie": "^2.3.5",
"@xiphe/cypress-parcel-preprocessor": "1.0.1-RC.1",
"codecov": "3.5.0",
"concurrently": "^4.0.0",
"cypress": "^3.3.1",
"cypress-file-upload": "^3.1.2",
"get-port-cli": "^2.0.0",
"install": "^0.12.2",
"jest": "^24.5.0",
"mysql": "^2.16.0",
"parcel-bundler": "^1.12.2",
"pg": "^7.9.0",
"prettier": "^1.16.4",
"qs": "^6.6.0",
"semantic-release": "15.13.12",
"semantish-prerelease": "0.2.0",
"sharp": "0.22.1",
"source-map-support": "^0.5.11",
"sqlite3": "^4.0.6",
"supertest": "^4.0.2",
"tough-cookie": "^3.0.1",
"ts-jest": "^24.0.0",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.3.4000",
"typescript-json-schema": "^0.38.0",
"with-server": "^1.0.0"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tsconfig.test.json"
}
},
"clearMocks": true,
"testMatch": [
"**/__tests__/**/*.test.ts",
"**/__tests__/**/*.test.tsx"
],
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/.cache/**",
"!**/coverage/**",
"!**/cypress/**",
"!**/dist/**",
"!**/lib/**",
"!**/node_modules/**",
"!**/demo/**"
]
}
}