-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "no-bs-typescript-boilerplate",
"version": "2.0.0",
"description": "Simple Typescript boilerplate for writing modules",
"main": "dist/index.js",
"typings": "typings",
"author": "Jean M. Lescure",
"license": "Apache-2.0",
"scripts": {
"rm:dist": "rm -rf dist/*",
"dev": "yarn rm:dist && concurrently \"rollup -cw\" \"sleep 10 && nodemon --inspect\"",
"build": "yarn rm:dist && NODE_ENV=production rollup -c",
"project:rename": "echo 'New package name: ' && read NEW_NAME && node -e \"require('fs').writeFileSync('./package.json', JSON.stringify({...require('./package.json'), name: '$NEW_NAME', version: '0.0.1'}, null, 2));\"",
"project:src-reset": "rm -rf dist static typings src .all-contributorsrc && mkdir src && touch src/index.ts && touch src/interfaces.ts",
"project:git-reset": "rm -rf .git && git init",
"project:new": "yarn project:src-reset && yarn project:rename && yarn project:git-reset",
"prepare": "yarn link && yarn link no-bs-typescript-boilerplate"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"concurrently": "^5.3.0",
"nodemon": "^2.0.4",
"rollup": "^2.27.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.2",
"ts-node": "^9.0.0",
"typescript": "^4.1.2"
},
"dependencies": {}
}