This repository has been archived by the owner on Dec 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 3.37 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "typescript-scss-rollup-boilerplate",
"version": "1.0.0",
"description": "Boilerplate for a working Typescript project with SCSS and Rollup for bundling",
"scripts": {
"clean-modules": "rimraf node_modules",
"clean": "rimraf dist build npm-debug.log*",
"watch:typescript": "tsc -w",
"watch:scss": "node-sass src/ -o build/compiled/ --source-map true -w -r",
"watch:bundle": "rollup -c -w --environment entry:build/compiled/main.js,dest:build/bundled/bundle.js",
"watch:vendor-styles": "rollup -c -w --environment entry:build/compiled/vendor-styles.css,dest:build/bundled/vendor-styles.css",
"watch:hashed-files": "chokidar \"build/bundled/**/!(*.map)\" -c \"hashly --exclude *.map --manifest-format json-object build/bundled dist\"",
"watch:html": "node posthtml.config.js -i src/**/*.html -o dist/ -m dist/manifest.json --watch",
"watch": "run-p watch:*",
"watch-and-test": "run-p watch:* test-watch",
"build:typescript": "tsc",
"build:scss": "node-sass src/ -o build/compiled/ --source-map true",
"build:bundle": "rollup -c --environment entry:build/compiled/main.js,dest:build/bundled/bundle.js",
"build:vendor-styles": "rollup -c --environment entry:build/compiled/vendor-styles.css,dest:build/bundled/vendor-styles.css",
"build:hashed-files": "hashly --exclude \"*.map\" --manifest-format json-object build/bundled dist",
"build:source-maps": "sorcery -i dist/**/*.map",
"build:html": "node posthtml.config.js -i src/**/*.html -o dist/ -m dist/manifest.json",
"build": "npm-run-all --parallel build:typescript build:scss --parallel build:bundle build:vendor-styles --serial build:hashed-files build:html",
"test": "mocha --reporter mocha-reporter-vscode --require mocha.config.js src/**/*.test.ts",
"test-watch": "mocha --reporter mocha-reporter-vscode --require mocha.config.js --watch-extensions ts -w src/**/*.test.ts",
"start": "ws"
},
"devDependencies": {
"@types/chai": "^3.5.1",
"@types/mocha": "^2.2.41",
"autoprefixer": "^6.7.7",
"chai": "^3.5.0",
"chokidar-cli": "^1.2.0",
"cssnano": "^3.10.0",
"glob": "^7.1.1",
"hashly": "^0.5.0",
"local-web-server": "^1.2.7",
"mocha": "^3.2.0",
"mocha-reporter-vscode": "https://github.com/franklin-ross/mocha-reporter-vscode",
"node-sass": "^4.5.2",
"nomnom": "^1.8.1",
"npm-run-all": "^4.0.2",
"parse-glob": "^3.0.4",
"postcss-import": "^9.1.0",
"posthtml": "^0.9.2",
"posthtml-plugin-rewrite-paths": "https://github.com/franklin-ross/posthtml-plugin-rewrite-paths",
"rimraf": "^2.6.1",
"rollup": "^0.41.6",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-extension-mapper": "franklin-ross/rollup-plugin-extension-mapper",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-postcss": "^0.4.1",
"rollup-plugin-uglify": "^1.0.2",
"rollup-watch": "^3.2.2",
"sorcery": "^0.10.0",
"ts-node": "^3.0.2",
"typescript": "^2.2.2",
"uglify-js": "^2.8.22"
},
"dependencies": {
"no-op": "^1.0.3",
"normalize.css": "^6.0.0"
},
"keywords": [
"typescript",
"scss",
"rollup",
"mocha",
"chai",
"boilerplate",
"quickstart"
],
"author": "Franklin Ross <[email protected]>",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/franklin-ross/typescript-scss-rollup-boilerplate.git"
}
}