├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .travis.yml ├── CNAME ├── LICENSE ├── README.md ├── README.zh-CN.md ├── dist ├── mock.js ├── mock.js.map ├── mock.min.js └── mock.min.js.map ├── docs ├── assets │ └── js │ │ ├── examples.js │ │ ├── test.dpd.data.js │ │ └── test.dtd.data.js ├── examples.html ├── guides.html ├── index.html └── md │ ├── introduction.md │ ├── syntax-specification.md │ └── use.md ├── index.html ├── package.json ├── rollup.config.js ├── src ├── .babelrc ├── generator.js ├── mock.js └── random │ ├── address.js │ ├── address_dict.js │ ├── basic.js │ ├── color.js │ ├── color_dict.js │ ├── date.js │ ├── helper.js │ ├── image.js │ ├── index.js │ ├── misc.js │ ├── name.js │ ├── plugin.js │ ├── text.js │ └── web.js └── test ├── mock.spec.dpd.test.js ├── mock.spec.dtd.test.js └── random ├── address.test.js ├── basic.test.js ├── color.test.js ├── date.test.js ├── helper.test.js ├── image.test.js ├── misc.test.js ├── name.test.js ├── plugin.test.js ├── text.test.js └── web.test.js /.eslintignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | node_modules 4 | 5 | dist 6 | docs 7 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/.travis.yml -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | mockjs-lite.js.org 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /dist/mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/dist/mock.js -------------------------------------------------------------------------------- /dist/mock.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/dist/mock.js.map -------------------------------------------------------------------------------- /dist/mock.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/dist/mock.min.js -------------------------------------------------------------------------------- /dist/mock.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/dist/mock.min.js.map -------------------------------------------------------------------------------- /docs/assets/js/examples.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/assets/js/examples.js -------------------------------------------------------------------------------- /docs/assets/js/test.dpd.data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/assets/js/test.dpd.data.js -------------------------------------------------------------------------------- /docs/assets/js/test.dtd.data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/assets/js/test.dtd.data.js -------------------------------------------------------------------------------- /docs/examples.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/examples.html -------------------------------------------------------------------------------- /docs/guides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/guides.html -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/md/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/md/introduction.md -------------------------------------------------------------------------------- /docs/md/syntax-specification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/md/syntax-specification.md -------------------------------------------------------------------------------- /docs/md/use.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/docs/md/use.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/.babelrc -------------------------------------------------------------------------------- /src/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/generator.js -------------------------------------------------------------------------------- /src/mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/mock.js -------------------------------------------------------------------------------- /src/random/address.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/address.js -------------------------------------------------------------------------------- /src/random/address_dict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/address_dict.js -------------------------------------------------------------------------------- /src/random/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/basic.js -------------------------------------------------------------------------------- /src/random/color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/color.js -------------------------------------------------------------------------------- /src/random/color_dict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/color_dict.js -------------------------------------------------------------------------------- /src/random/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/date.js -------------------------------------------------------------------------------- /src/random/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/helper.js -------------------------------------------------------------------------------- /src/random/image.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/image.js -------------------------------------------------------------------------------- /src/random/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/index.js -------------------------------------------------------------------------------- /src/random/misc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/misc.js -------------------------------------------------------------------------------- /src/random/name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/name.js -------------------------------------------------------------------------------- /src/random/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/plugin.js -------------------------------------------------------------------------------- /src/random/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/text.js -------------------------------------------------------------------------------- /src/random/web.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/src/random/web.js -------------------------------------------------------------------------------- /test/mock.spec.dpd.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/mock.spec.dpd.test.js -------------------------------------------------------------------------------- /test/mock.spec.dtd.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/mock.spec.dtd.test.js -------------------------------------------------------------------------------- /test/random/address.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/address.test.js -------------------------------------------------------------------------------- /test/random/basic.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/basic.test.js -------------------------------------------------------------------------------- /test/random/color.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/color.test.js -------------------------------------------------------------------------------- /test/random/date.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/date.test.js -------------------------------------------------------------------------------- /test/random/helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/helper.test.js -------------------------------------------------------------------------------- /test/random/image.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/image.test.js -------------------------------------------------------------------------------- /test/random/misc.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/misc.test.js -------------------------------------------------------------------------------- /test/random/name.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/name.test.js -------------------------------------------------------------------------------- /test/random/plugin.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/plugin.test.js -------------------------------------------------------------------------------- /test/random/text.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/text.test.js -------------------------------------------------------------------------------- /test/random/web.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/52cik/mockjs-lite/HEAD/test/random/web.test.js --------------------------------------------------------------------------------