Skip to content

Commit

Permalink
Add file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 24, 2018
0 parents commit 44beeca
Show file tree
Hide file tree
Showing 123 changed files with 11,452 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 2 versions",
"ie >= 10"
]
}
}
],
"react"
],
"plugins": [
"transform-object-rest-spread",
"syntax-dynamic-import",
"transform-async-to-generator",
"transform-class-properties",
[
"transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
}
]
],
"env": {
"production": {}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib
node_modules
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.babelrc
src
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
code-example
---

## Installation

```bash
npm install code-example --save
```

## Using

```js
import('code-example/lib/php.js').then((data) => {
console.log('Language PHP Code Example:', data.default);
});
```

## Language

```bash
apl eiffel javascript pascal shell ttcn-cfg
brainfuck elm jinja2 pegjs sieve ttcn
clike erlang json perl slim turtle
clojure factor jsx php smalltalk twig
cmake fcl julia pig smarty vb
cobol forth livescript powershell solr vbscript
coffeescript fortran lua properties soy velocity
commonlisp gas markdown protobuf sparql verilog
crystal gherkin mathematica pug spreadsheet vhdl
css go mbox puppet sql vue
cypher groovy md python stex webidl
cython haml mirc q stylus xml
d handlebars modelica r swift xquery
dart haskell-literate mscgen rpm tcl yacas
diff haskell mumps rst textile yaml-frontmatter
django haxe nginx ruby tiddlywiki yaml
dockerfile htmlembedded nsis rust tiki z80
dtd htmlmixed ntriples sas toml
dylan http octave sass tornado
ecl idl oz scheme troff
```
Loading

0 comments on commit 44beeca

Please sign in to comment.