Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
108 lines (107 sloc) 2.93 KB
{
"name": "new-issue",
"version": "0.1.0",
"author": "Wei He <github@weispot.com>",
"description": "A customizable Github issues interface",
"repository": "wei/new-issue",
"homepage": "https://github.com/wei/new-issue#readme",
"bugs": "https://new-issue.org/wei/new-issue",
"scripts": {
"test": "NODE_ENV=test jest --verbose",
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build --no-prerender --clean --template src/index.ejs --service-worker false",
"serve": "npm run build && preact serve",
"dev": "preact watch --template src/index.ejs",
"lint": "eslint . --ext .js,.json --ignore-path .gitignore",
"lintfix": "eslint . --ext .js,.json --ignore-path .gitignore --fix || true"
},
"devDependencies": {
"copy-webpack-plugin": "^4.6.0",
"eslint": "^5.13.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-preact": "^1.1.6",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-json": "^1.3.2",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-standard": "^4.0.0",
"glob": "^7.1.3",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.4",
"jest": "^23.6.0",
"jest-localstorage-mock": "^2.4.0",
"jsdom": "^13.2.0",
"node-sass": "^4.10.0",
"preact-cli": "^2.2.1",
"preact-render-spy": "^1.3.0",
"preact-render-to-string": "^4.1.0",
"preact-widget-scripts": "^0.6.0",
"sass-loader": "^7.1.0"
},
"dependencies": {
"ajv": "^6.9.1",
"classnames": "^2.2.6",
"linkstate": "^1.1.1",
"netlify-auth-providers": "^1.0.0-alpha5",
"normalize.css": "^8.0.1",
"preact": "^8.4.2",
"preact-compat": "^3.18.4",
"preact-habitat": "^3.2.2",
"preact-router": "^2.6.1",
"primer": "^11.0.0",
"whatwg-fetch": "^3.0.0"
},
"jest": {
"verbose": true,
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|less)$": "identity-obj-proxy",
"^react$": "preact-compat",
"^react-dom$": "preact-compat"
},
"snapshotSerializers": [
"preact-render-spy/snapshot"
],
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 70,
"lines": 80,
"statements": 80
}
},
"setupFiles": [
"jest-localstorage-mock"
],
"moduleDirectories": [
"node_modules",
"src"
]
},
"eslintConfig": {
"plugins": [
"json"
],
"extends": [
"standard",
"standard-preact"
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
]
}
},
"license": "MIT"
}