Skip to content

Commit beefc3b

Browse files
author
phra
committed
add vscode intellisense for angular, lodash, etc
1 parent 178d633 commit beefc3b

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
3-
coverage
3+
coverage
4+
typings/

jsconfig.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=759670
3+
// for the documentation about the jsconfig.json format
4+
"compilerOptions": {
5+
"target": "es6",
6+
"module": "commonjs",
7+
"allowSyntheticDefaultImports": true
8+
},
9+
"exclude": [
10+
"node_modules",
11+
"bower_components",
12+
"jspm_packages",
13+
"tmp",
14+
"temp"
15+
]
16+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"description": "A workflow for Angular made with Webpack",
55
"scripts": {
6+
"postinstall": "typings install",
67
"build": "rimraf dist && webpack --bail --progress --profile",
78
"server": "webpack-dev-server --history-api-fallback --inline --progress",
89
"test": "karma start",
@@ -51,6 +52,7 @@
5152
"raw-loader": "^0.5.1",
5253
"rimraf": "^2.5.1",
5354
"style-loader": "^0.13.0",
55+
"typings": "^1.3.1",
5456
"webpack": "^1.12.13",
5557
"webpack-dev-server": "^1.14.1"
5658
}

typings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "angular-webpack-workflow",
3+
"dependencies": {},
4+
"globalDependencies": {
5+
"angular": "registry:dt/angular#1.5.0+20160627105203",
6+
"atom": "registry:env/atom#1.6.0+20160612063716",
7+
"jquery": "registry:dt/jquery#1.10.0+20160701124751",
8+
"lodash": "registry:dt/lodash#3.10.0+20160619033623"
9+
}
10+
}

0 commit comments

Comments
 (0)