Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Apr 4, 2018
1 parent 05252f2 commit aacf72f
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 43 deletions.
16 changes: 9 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
node_modules
.cache
.vscode
.temp
built
.nyc_output
coverage
/node_modules
/.cache
/.vscode
/.temp
/built
/.DS_Store
/coverage
/.nyc_output
/dist
17 changes: 9 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
node_modules
.cache
.vscode
.temp
built
tests
.nyc_output
coverage
/node_modules
/.cache
/.vscode
/.temp
/.DS_Store
/coverage
/.nyc_output
/dist
/tests
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
}
}
]
}
}
33 changes: 17 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"name": "pri-plugin-dob",
"version": "1.0.0",
"version": "1.0.1",
"types": "src/index.ts",
"main": "built/index.js",
"scripts": {
"start": "pri plugin-watch",
"prepublishOnly": "pri plugin-build",
"release": "npm publish",
"test": "pri test"
"test": "pri plugin-test",
"build": "pri build",
"preview": "pri preview"
},
"dependencies": {
"pri": "*"
},
"pri": {
"web-entry": ["./built/web-store/index.js", "./built/web-menu/index.js"]
"web-entry": ["./built/web-store/index.js", "./built/web-menu/index.js"],
"type": "plugin"
}
}
8 changes: 2 additions & 6 deletions tests/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import test from "ava"

function sum(a: number, b: number) {
return a + b
}

test("adds 1 + 2 to equal 3", t => {
t.true(sum(1, 2) === 3)
test("Example", t => {
t.true(true)
})
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"built",
"lib"
]
}
}
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"no-object-literal-type-assertion": false,
"no-submodule-imports": false
}
}
}

0 comments on commit aacf72f

Please sign in to comment.