template-parcel-ts
Version:
my tremendous SAO template
55 lines (54 loc) • 1.42 kB
JSON
{
"name": "<%= name %>",
"description": "<%= description %>",
"main": "index.js",
"scripts": {
"type-check": "tsc --noEmit",
"start": "parcel -p 5200 index.html",
"lint": "tslint src/**/*.ts{,x}",
"clean": "rimraf dist",
"build": "npm run type-check && NODE_ENV=production parcel build index.html"
},
"author": "<%= username %> <<%= email %>>",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"or-button": "^1.1.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"sass": "^1.14.3",
"tslib": "^1.9.3"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"@types/react": "^16.4.18",
"@types/react-dom": "^16.0.9",
"autoprefixer": "^9.3.1",
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"husky": "^1.1.2",
"lint-staged": "^8.0.3",
"parcel-bundler": "^1.10.3",
"postcss-modules": "^1.4.1",
"prettier": "^1.14.3",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.4"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add"
]
}
}